Class JcaPKCS8EncryptedPrivateKeyInfoBuilder

java.lang.Object
org.bouncycastle.pkcs.PKCS8EncryptedPrivateKeyInfoBuilder
org.bouncycastle.pkcs.jcajce.JcaPKCS8EncryptedPrivateKeyInfoBuilder

public class JcaPKCS8EncryptedPrivateKeyInfoBuilder extends PKCS8EncryptedPrivateKeyInfoBuilder
JCA-aware extension of PKCS8EncryptedPrivateKeyInfoBuilder that accepts a standard PrivateKey as input.
  • Constructor Details

    • JcaPKCS8EncryptedPrivateKeyInfoBuilder

      public JcaPKCS8EncryptedPrivateKeyInfoBuilder(PrivateKey privateKey)
      Base constructor.
      Parameters:
      privateKey - the JCA private key to be encrypted.