| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static short[] | |
| public static AsymmetricKeyParameter | Returns: a suitable private key parameterthe PrivateKeyInfo encoding privateKeyInfoData)Create a private key parameter from a PKCS8 PrivateKeyInfo encoding. |
| public static AsymmetricKeyParameter | Returns: a suitable private key parameterthe stream to read the PrivateKeyInfo encoding from inStr)Create a private key parameter from a PKCS8 PrivateKeyInfo encoding read from a stream. |
| public static AsymmetricKeyParameter | Returns: a suitable private key parameterthe PrivateKeyInfo object containing the key material keyInfo)Create a private key parameter from the passed in PKCS8 PrivateKeyInfo object. |
| PrivateKeyFactory | back to summary |
|---|---|
| public PrivateKeyFactory() | |
| convert | back to summary |
|---|---|
| private static short[] convert(byte[] octets) | |
| createKey | back to summary |
|---|---|
| public static AsymmetricKeyParameter createKey(byte[] privateKeyInfoData) throws IOException Create a private key parameter from a PKCS8 PrivateKeyInfo encoding.
| |
| createKey | back to summary |
|---|---|
| public static AsymmetricKeyParameter createKey(InputStream inStr) throws IOException Create a private key parameter from a PKCS8 PrivateKeyInfo encoding read from a stream.
| |
| createKey | back to summary |
|---|---|
| public static AsymmetricKeyParameter createKey(PrivateKeyInfo keyInfo) throws IOException Create a private key parameter from the passed in PKCS8 PrivateKeyInfo object.
| |