Bouncy Castle Cryptography Library 1.60

org.bouncycastle.cms.bc
Class BcCMSContentEncryptorBuilder

java.lang.Object
  extended byorg.bouncycastle.cms.bc.BcCMSContentEncryptorBuilder

public class BcCMSContentEncryptorBuilder
extends java.lang.Object


Constructor Summary
BcCMSContentEncryptorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionOID)
           
BcCMSContentEncryptorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionOID, int keySize)
           
 
Method Summary
 OutputEncryptor build()
           
 BcCMSContentEncryptorBuilder setSecureRandom(java.security.SecureRandom random)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BcCMSContentEncryptorBuilder

public BcCMSContentEncryptorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionOID)

BcCMSContentEncryptorBuilder

public BcCMSContentEncryptorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionOID,
                                    int keySize)
Method Detail

setSecureRandom

public BcCMSContentEncryptorBuilder setSecureRandom(java.security.SecureRandom random)

build

public OutputEncryptor build()
                      throws CMSException
Throws:
CMSException

Bouncy Castle Cryptography Library 1.60