PKCS8EncryptedPrivateKeyInfoBuilder (Bouncy Castle Library 1.54 API Specification)
Date: 2015-12-29

org.bouncycastle.pkcs

## Class PKCS8EncryptedPrivateKeyInfoBuilder

- java.lang.Object
- - org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder

- Direct Known Subclasses:
    JcaPKCS8EncryptedPrivateKeyInfoBuilder

      public class PKCS8EncryptedPrivateKeyInfoBuilder
      extends java.lang.Object

  A class for creating EncryptedPrivateKeyInfo structures.

       EncryptedPrivateKeyInfo ::= SEQUENCE {
            encryptionAlgorithm AlgorithmIdentifier {{KeyEncryptionAlgorithms}},
            encryptedData EncryptedData
       }

       EncryptedData ::= OCTET STRING

       KeyEncryptionAlgorithms ALGORITHM-IDENTIFIER ::= {
                ... -- For local profiles
       }

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PKCS8EncryptedPrivateKeyInfoBuilder(org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `PKCS8EncryptedPrivateKeyInfo` | `build(OutputEncryptor encryptor)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### PKCS8EncryptedPrivateKeyInfoBuilder

          public PKCS8EncryptedPrivateKeyInfoBuilder(org.bouncycastle.asn1.pkcs.PrivateKeyInfo privateKeyInfo)

  - ### Method Detail

    - #### build

          public PKCS8EncryptedPrivateKeyInfo build(OutputEncryptor encryptor)