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

org.bouncycastle.pkcs.jcajce

## Class JcaPKCS12SafeBagBuilder

- java.lang.Object
- - org.bouncycastle.pkcs.PKCS12SafeBagBuilder
  - - org.bouncycastle.pkcs.jcajce.JcaPKCS12SafeBagBuilder

-     public class JcaPKCS12SafeBagBuilder
      extends PKCS12SafeBagBuilder

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JcaPKCS12SafeBagBuilder(java.security.PrivateKey privateKey)`
    `JcaPKCS12SafeBagBuilder(java.security.PrivateKey privateKey, OutputEncryptor encryptor)`
    `JcaPKCS12SafeBagBuilder(java.security.cert.X509Certificate certificate)`

  - ### Method Summary

    - ### Methods inherited from class org.bouncycastle.pkcs.PKCS12SafeBagBuilder

      `addBagAttribute, build`

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

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

- - ### Constructor Detail

    - #### JcaPKCS12SafeBagBuilder

          public JcaPKCS12SafeBagBuilder(java.security.cert.X509Certificate certificate)
                                  throws java.io.IOException

      Throws:
        `java.io.IOException`

    - #### JcaPKCS12SafeBagBuilder

          public JcaPKCS12SafeBagBuilder(java.security.PrivateKey privateKey,
                                 OutputEncryptor encryptor)

    - #### JcaPKCS12SafeBagBuilder

          public JcaPKCS12SafeBagBuilder(java.security.PrivateKey privateKey)