public class BcCMSContentEncryptorBuilder extends Object
Constructor and Description |
---|
BcCMSContentEncryptorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionOID) |
BcCMSContentEncryptorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionOID,
int keySize) |
Modifier and Type | Method and Description |
---|---|
OutputEncryptor |
build() |
BcCMSContentEncryptorBuilder |
setSecureRandom(SecureRandom random) |
public BcCMSContentEncryptorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionOID)
public BcCMSContentEncryptorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionOID, int keySize)
public BcCMSContentEncryptorBuilder setSecureRandom(SecureRandom random)
public OutputEncryptor build() throws CMSException
CMSException
Copyright © 2017 BouncyCastle.org. All rights reserved.