Package org.bouncycastle.openssl
Class PKCS8Generator
java.lang.Object
org.bouncycastle.openssl.PKCS8Generator
- All Implemented Interfaces:
org.bouncycastle.util.io.pem.PemObjectGenerator
- Direct Known Subclasses:
JcaPKCS8Generator
public class PKCS8Generator
extends Object
implements org.bouncycastle.util.io.pem.PemObjectGenerator
-
Field Summary
Modifier and TypeFieldDescriptionstatic final org.bouncycastle.asn1.ASN1ObjectIdentifier
static final org.bouncycastle.asn1.ASN1ObjectIdentifier
static final org.bouncycastle.asn1.ASN1ObjectIdentifier
static final org.bouncycastle.asn1.ASN1ObjectIdentifier
static final org.bouncycastle.asn1.ASN1ObjectIdentifier
static final org.bouncycastle.asn1.ASN1ObjectIdentifier
static final org.bouncycastle.asn1.ASN1ObjectIdentifier
static final org.bouncycastle.asn1.ASN1ObjectIdentifier
static final org.bouncycastle.asn1.ASN1ObjectIdentifier
static final org.bouncycastle.asn1.ASN1ObjectIdentifier
static final org.bouncycastle.asn1.x509.AlgorithmIdentifier
static final org.bouncycastle.asn1.x509.AlgorithmIdentifier
static final org.bouncycastle.asn1.x509.AlgorithmIdentifier
static final org.bouncycastle.asn1.x509.AlgorithmIdentifier
static final org.bouncycastle.asn1.x509.AlgorithmIdentifier
static final org.bouncycastle.asn1.x509.AlgorithmIdentifier
static final org.bouncycastle.asn1.x509.AlgorithmIdentifier
static final org.bouncycastle.asn1.x509.AlgorithmIdentifier
static final org.bouncycastle.asn1.x509.AlgorithmIdentifier
static final org.bouncycastle.asn1.x509.AlgorithmIdentifier
-
Constructor Summary
ConstructorDescriptionPKCS8Generator
(org.bouncycastle.asn1.pkcs.PrivateKeyInfo key, OutputEncryptor outputEncryptor) Base constructor. -
Method Summary
-
Field Details
-
AES_128_CBC
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier AES_128_CBC -
AES_192_CBC
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier AES_192_CBC -
AES_256_CBC
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier AES_256_CBC -
DES3_CBC
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier DES3_CBC -
PBE_SHA1_RC4_128
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier PBE_SHA1_RC4_128 -
PBE_SHA1_RC4_40
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier PBE_SHA1_RC4_40 -
PBE_SHA1_3DES
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier PBE_SHA1_3DES -
PBE_SHA1_2DES
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier PBE_SHA1_2DES -
PBE_SHA1_RC2_128
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier PBE_SHA1_RC2_128 -
PBE_SHA1_RC2_40
public static final org.bouncycastle.asn1.ASN1ObjectIdentifier PBE_SHA1_RC2_40 -
PRF_HMACSHA1
public static final org.bouncycastle.asn1.x509.AlgorithmIdentifier PRF_HMACSHA1 -
PRF_HMACSHA224
public static final org.bouncycastle.asn1.x509.AlgorithmIdentifier PRF_HMACSHA224 -
PRF_HMACSHA256
public static final org.bouncycastle.asn1.x509.AlgorithmIdentifier PRF_HMACSHA256 -
PRF_HMACSHA384
public static final org.bouncycastle.asn1.x509.AlgorithmIdentifier PRF_HMACSHA384 -
PRF_HMACSHA512
public static final org.bouncycastle.asn1.x509.AlgorithmIdentifier PRF_HMACSHA512 -
PRF_HMACGOST3411
public static final org.bouncycastle.asn1.x509.AlgorithmIdentifier PRF_HMACGOST3411 -
PRF_HMACSHA3_224
public static final org.bouncycastle.asn1.x509.AlgorithmIdentifier PRF_HMACSHA3_224 -
PRF_HMACSHA3_256
public static final org.bouncycastle.asn1.x509.AlgorithmIdentifier PRF_HMACSHA3_256 -
PRF_HMACSHA3_384
public static final org.bouncycastle.asn1.x509.AlgorithmIdentifier PRF_HMACSHA3_384 -
PRF_HMACSHA3_512
public static final org.bouncycastle.asn1.x509.AlgorithmIdentifier PRF_HMACSHA3_512
-
-
Constructor Details
-
PKCS8Generator
public PKCS8Generator(org.bouncycastle.asn1.pkcs.PrivateKeyInfo key, OutputEncryptor outputEncryptor) Base constructor.
-
-
Method Details
-
generate
public org.bouncycastle.util.io.pem.PemObject generate() throws org.bouncycastle.util.io.pem.PemGenerationException- Specified by:
generate
in interfaceorg.bouncycastle.util.io.pem.PemObjectGenerator
- Throws:
org.bouncycastle.util.io.pem.PemGenerationException
-