Import an existing key
Construct keys in another format to a key representation or import keys from a file.
Method | Type | Description |
| String | Converts a private key string to PrivateKey |
| String | Converts a public key string to PublicKey |
| byte [] | Converts a private key from bytes to PrivateKey |
| byte [ ] | Converts a public key from bytes to PublicKey |
| byte [ ], String | Private key from keystore and passphrase |
| String | Private key from pem encoded String |
| String, String | Parse a private key from a PEM encoded string. The private key may be encrypted, e.g. if it was generated by OpenSSL. |
Last updated