Package 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
Constructors Constructor Description BcCRMFEncryptorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionOID)
BcCRMFEncryptorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionOID, int keySize)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OutputEncryptor
build()
BcCRMFEncryptorBuilder
setSecureRandom(java.security.SecureRandom random)
-
-
-
Method Detail
-
setSecureRandom
public BcCRMFEncryptorBuilder setSecureRandom(java.security.SecureRandom random)
-
build
public OutputEncryptor build() throws CRMFException
- Throws:
CRMFException
-
-