Top Fields Constructors Methods
org.bouncycastle.openssl

public Class PEMEncryptedKeyPair

extends Object
Class Inheritance
Imports
java.io.IOException, org.bouncycastle.operator.OperatorCreationException

Field Summary

Modifier and TypeField and Description
private final String
private final byte[]
private final byte[]
private final PEMKeyPairParser

Constructor Summary

AccessConstructor and Description
pack-priv
PEMEncryptedKeyPair(String dekAlgName, byte[] iv, byte[] keyBytes, PEMKeyPairParser parser)

Method Summary

Modifier and TypeMethod and Description
public PEMKeyPair
decryptKeyPair(PEMDecryptorProvider keyDecryptorProvider)

public String

Returns:

the key encryption algorithm name.
getDekAlgName
()

Return the key encryption algorithm name that was in the original DEK-Info field.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

dekAlgNameback to summary
private final String dekAlgName
ivback to summary
private final byte[] iv
keyBytesback to summary
private final byte[] keyBytes
parserback to summary
private final PEMKeyPairParser parser

Constructor Detail

PEMEncryptedKeyPairback to summary
pack-priv PEMEncryptedKeyPair(String dekAlgName, byte[] iv, byte[] keyBytes, PEMKeyPairParser parser)

Method Detail

decryptKeyPairback to summary
public PEMKeyPair decryptKeyPair(PEMDecryptorProvider keyDecryptorProvider) throws IOException
getDekAlgNameback to summary
public String getDekAlgName()

Return the key encryption algorithm name that was in the original DEK-Info field.

Returns:String

the key encryption algorithm name.