# 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(DEREncodablePREVIEW de, char[] password)`
  Preview.
  Creates an `EncryptedPrivateKeyInfo` by encrypting the specified `DEREncodable`.
  `static EncryptedPrivateKeyInfo`
  EncryptedPrivateKeyInfo.`encrypt(DEREncodablePREVIEW de, char[] password, String algorithm, AlgorithmParameterSpec params, Provider provider)`
  Preview.
  Creates an `EncryptedPrivateKeyInfo` by encrypting the specified `DEREncodable`.
  `static EncryptedPrivateKeyInfo`
  EncryptedPrivateKeyInfo.`encrypt(DEREncodablePREVIEW de, Key encryptKey, String algorithm, AlgorithmParameterSpec params, Provider provider, SecureRandom random)`
  Preview.
  Creates an `EncryptedPrivateKeyInfo` by encrypting the specified `DEREncodable`.