JceCRMFEncryptorBuilder (Bouncy Castle Library 1.52 API Specification)
Date: 2015-03-01

org.bouncycastle.cert.crmf.jcajce

## Class JceCRMFEncryptorBuilder

- java.lang.Object
- - org.bouncycastle.cert.crmf.jcajce.JceCRMFEncryptorBuilder

-     public class JceCRMFEncryptorBuilder
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JceCRMFEncryptorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionOID)`
    `JceCRMFEncryptorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier encryptionOID, int keySize)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`