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

org.bouncycastle.openssl.jcajce

## Class JcaPKCS8Generator

- java.lang.Object
- - org.bouncycastle.openssl.PKCS8Generator
  - - org.bouncycastle.openssl.jcajce.JcaPKCS8Generator

- All Implemented Interfaces:
    org.bouncycastle.util.io.pem.PemObjectGenerator

      public class JcaPKCS8Generator
      extends PKCS8Generator

- - ### Field Summary

    - ### Fields inherited from class org.bouncycastle.openssl.PKCS8Generator

      `AES_128_CBC, AES_192_CBC, AES_256_CBC, DES3_CBC, PBE_SHA1_2DES, PBE_SHA1_3DES, PBE_SHA1_RC2_128, PBE_SHA1_RC2_40, PBE_SHA1_RC4_128, PBE_SHA1_RC4_40`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `JcaPKCS8Generator(java.security.PrivateKey key, OutputEncryptor encryptor)`

  - ### Method Summary

    - ### Methods inherited from class org.bouncycastle.openssl.PKCS8Generator

      `generate`

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

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

- - ### Constructor Detail

    - #### JcaPKCS8Generator

          public JcaPKCS8Generator(java.security.PrivateKey key,
                           OutputEncryptor encryptor)
                            throws org.bouncycastle.util.io.pem.PemGenerationException

      Throws:
        `org.bouncycastle.util.io.pem.PemGenerationException`