Bouncy Castle Cryptography Library 1.79

org.bouncycastle.cert.crmf.bc
Class BcCRMFEncryptorBuilder

java.lang.Object
  |
  +--org.bouncycastle.cert.crmf.bc.BcCRMFEncryptorBuilder

public class BcCRMFEncryptorBuilder
extends java.lang.Object

Lightweight CRMFOutputEncryptor builder.


Constructor Summary
BcCRMFEncryptorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionOID)
           
BcCRMFEncryptorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionOID, int keySize)
           
 
Method Summary
 OutputEncryptor build()
           
 BcCRMFEncryptorBuilder 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

BcCRMFEncryptorBuilder

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

BcCRMFEncryptorBuilder

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

setSecureRandom

public BcCRMFEncryptorBuilder setSecureRandom(java.security.SecureRandom random)

build

public OutputEncryptor build()
                      throws CRMFException

Bouncy Castle Cryptography Library 1.79