Bouncy Castle Cryptography Library 1.60

org.bouncycastle.cert.crmf.jcajce
Class JceCRMFEncryptorBuilder

java.lang.Object
  extended byorg.bouncycastle.cert.crmf.jcajce.JceCRMFEncryptorBuilder

public class JceCRMFEncryptorBuilder
extends java.lang.Object


Constructor Summary
JceCRMFEncryptorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionOID)
           
JceCRMFEncryptorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionOID, int keySize)
           
 
Method Summary
 OutputEncryptor build()
           
 JceCRMFEncryptorBuilder setProvider(java.security.Provider provider)
           
 JceCRMFEncryptorBuilder setProvider(java.lang.String providerName)
           
 JceCRMFEncryptorBuilder 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

JceCRMFEncryptorBuilder

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

JceCRMFEncryptorBuilder

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

setProvider

public JceCRMFEncryptorBuilder setProvider(java.security.Provider provider)

setProvider

public JceCRMFEncryptorBuilder setProvider(java.lang.String providerName)

setSecureRandom

public JceCRMFEncryptorBuilder setSecureRandom(java.security.SecureRandom random)

build

public OutputEncryptor build()
                      throws CRMFException
Throws:
CRMFException

Bouncy Castle Cryptography Library 1.60