public class PKCS8Generator extends Object implements PemObjectGenerator
Modifier and Type | Field and Description |
---|---|
static ASN1ObjectIdentifier |
AES_128_CBC |
static ASN1ObjectIdentifier |
AES_192_CBC |
static ASN1ObjectIdentifier |
AES_256_CBC |
static ASN1ObjectIdentifier |
DES3_CBC |
static ASN1ObjectIdentifier |
PBE_SHA1_2DES |
static ASN1ObjectIdentifier |
PBE_SHA1_3DES |
static ASN1ObjectIdentifier |
PBE_SHA1_RC2_128 |
static ASN1ObjectIdentifier |
PBE_SHA1_RC2_40 |
static ASN1ObjectIdentifier |
PBE_SHA1_RC4_128 |
static ASN1ObjectIdentifier |
PBE_SHA1_RC4_40 |
Constructor and Description |
---|
PKCS8Generator(PrivateKeyInfo key,
OutputEncryptor outputEncryptor)
Base constructor.
|
public static final ASN1ObjectIdentifier AES_128_CBC
public static final ASN1ObjectIdentifier AES_192_CBC
public static final ASN1ObjectIdentifier AES_256_CBC
public static final ASN1ObjectIdentifier DES3_CBC
public static final ASN1ObjectIdentifier PBE_SHA1_RC4_128
public static final ASN1ObjectIdentifier PBE_SHA1_RC4_40
public static final ASN1ObjectIdentifier PBE_SHA1_3DES
public static final ASN1ObjectIdentifier PBE_SHA1_2DES
public static final ASN1ObjectIdentifier PBE_SHA1_RC2_128
public static final ASN1ObjectIdentifier PBE_SHA1_RC2_40
public PKCS8Generator(PrivateKeyInfo key, OutputEncryptor outputEncryptor)
public PemObject generate() throws PemGenerationException
generate
in interface PemObjectGenerator
PemGenerationException
Copyright © 2018 BouncyCastle.org. All rights reserved.