# Uses of Class
javax.crypto.EncryptedPrivateKeyInfo

Packages that use EncryptedPrivateKeyInfo
Package
Description
javax.crypto
Provides the classes and interfaces for cryptographic operations.

## Uses of EncryptedPrivateKeyInfo in javax.crypto

Methods in javax.crypto that return EncryptedPrivateKeyInfo
Modifier and Type
Method
Description
`static EncryptedPrivateKeyInfo`
EncryptedPrivateKeyInfo.`encrypt(BinaryEncodablePREVIEW be, char[] password)`
Preview.
Creates an `EncryptedPrivateKeyInfo` by encrypting the specified `BinaryEncodable`.
`static EncryptedPrivateKeyInfo`
EncryptedPrivateKeyInfo.`encrypt(BinaryEncodablePREVIEW be, char[] password, String algorithm, AlgorithmParameterSpec params, Provider provider)`
Preview.
Creates an `EncryptedPrivateKeyInfo` by encrypting the specified `BinaryEncodable`.
`static EncryptedPrivateKeyInfo`
EncryptedPrivateKeyInfo.`encrypt(BinaryEncodablePREVIEW be, Key encryptKey, String algorithm, AlgorithmParameterSpec params, Provider provider, SecureRandom random)`
Preview.
Creates an `EncryptedPrivateKeyInfo` by encrypting the specified `BinaryEncodable`.