Top Description Fields Constructors Methods
com.oracle.bmc.http.client.pki

pack-priv Class OpenSslPbeSecretKeyFactory

extends Object
Class Inheritance
Imports
javax.crypto.spec.PBEKeySpec, .SecretKeySpec, java.security.Key, .MessageDigest, .NoSuchAlgorithmException, java.security.spec.InvalidKeySpecException

Generates the derived key for OpenSSL style encryption for PKCS1 encoded private keys

Field Summary

Modifier and TypeField and Description
private final MessageDigest

Constructor Summary

AccessConstructor and Description
pack-priv
pack-priv

Method Summary

Modifier and TypeMethod and Description
private static MessageDigest
digest(final String algorithmName)

pack-priv Key
generateSecret(final PBEKeySpec pbeSpec)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

digestback to summary
private final MessageDigest digest

Constructor Detail

OpenSslPbeSecretKeyFactoryback to summary
pack-priv OpenSslPbeSecretKeyFactory()
OpenSslPbeSecretKeyFactoryback to summary
pack-priv OpenSslPbeSecretKeyFactory(final MessageDigest digest)

Method Detail

digestback to summary
private static MessageDigest digest(final String algorithmName)
generateSecretback to summary
pack-priv Key generateSecret(final PBEKeySpec pbeSpec) throws InvalidKeySpecException