Package org.bouncycastle.openssl
Class PEMEncryptedKeyPair
- java.lang.Object
-
- org.bouncycastle.openssl.PEMEncryptedKeyPair
-
public class PEMEncryptedKeyPair extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PEMKeyPair
decryptKeyPair(PEMDecryptorProvider keyDecryptorProvider)
java.lang.String
getDekAlgName()
Return the key encryption algorithm name that was in the original DEK-Info field.
-
-
-
Method Detail
-
getDekAlgName
public java.lang.String getDekAlgName()
Return the key encryption algorithm name that was in the original DEK-Info field.- Returns:
- the key encryption algorithm name.
-
decryptKeyPair
public PEMKeyPair decryptKeyPair(PEMDecryptorProvider keyDecryptorProvider) throws java.io.IOException
- Throws:
java.io.IOException
-
-