Uses of Class
javax.crypto.EncryptedPrivateKeyInfo
Packages that use EncryptedPrivateKeyInfo
-
Uses of EncryptedPrivateKeyInfo in javax.crypto
Methods in javax.crypto that return EncryptedPrivateKeyInfoModifier and TypeMethodDescriptionstatic EncryptedPrivateKeyInfo
EncryptedPrivateKeyInfo.encryptKey
(PrivateKey key, char[] password) Preview.Creates and encrypts anEncryptedPrivateKeyInfo
from a givenPrivateKey
and password.static EncryptedPrivateKeyInfo
EncryptedPrivateKeyInfo.encryptKey
(PrivateKey key, char[] password, String algorithm, AlgorithmParameterSpec params, Provider provider) Preview.Creates and encrypts anEncryptedPrivateKeyInfo
from a givenPrivateKey
.static EncryptedPrivateKeyInfo
EncryptedPrivateKeyInfo.encryptKey
(PrivateKey key, Key encKey, String algorithm, AlgorithmParameterSpec params, Provider provider, SecureRandom random) Preview.Creates and encrypts anEncryptedPrivateKeyInfo
from the givenPrivateKey
using theencKey
and given parameters.