Top Description Fields Constructors Methods
org.bouncycastle.pkcs

public Class PKCS8EncryptedPrivateKeyInfoBuilder

extends Object
Class Inheritance
Known Direct Subclasses
org.bouncycastle.pkcs.jcajce.JcaPKCS8EncryptedPrivateKeyInfoBuilder
Imports
java.io.ByteArrayOutputStream, .IOException, .OutputStream, org.bouncycastle.asn1.pkcs.EncryptedPrivateKeyInfo, .PrivateKeyInfo, org.bouncycastle.operator.OutputEncryptor

A class for creating EncryptedPrivateKeyInfo structures.
EncryptedPrivateKeyInfo ::= SEQUENCE {
     encryptionAlgorithm AlgorithmIdentifier {{KeyEncryptionAlgorithms}},
     encryptedData EncryptedData
}

EncryptedData ::= OCTET STRING

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

Field Summary

Modifier and TypeField and Description
private PrivateKeyInfo

Constructor Summary

AccessConstructor and Description
public
PKCS8EncryptedPrivateKeyInfoBuilder(byte[] privateKeyInfo)

public

Method Summary

Modifier and TypeMethod and Description
public PKCS8EncryptedPrivateKeyInfo
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

privateKeyInfoback to summary
private PrivateKeyInfo privateKeyInfo

Constructor Detail

PKCS8EncryptedPrivateKeyInfoBuilderback to summary
public PKCS8EncryptedPrivateKeyInfoBuilder(byte[] privateKeyInfo)
PKCS8EncryptedPrivateKeyInfoBuilderback to summary
public PKCS8EncryptedPrivateKeyInfoBuilder(PrivateKeyInfo privateKeyInfo)

Method Detail

buildback to summary
public PKCS8EncryptedPrivateKeyInfo build(OutputEncryptor encryptor)