| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String | |
| private static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static byte[] | Returns: the key OpenSSH encoded.The key to encode. cipherParameters)Encode a public key from an AsymmetricKeyParameter instance. |
| public static AsymmetricKeyParameter | Returns: An AsymmetricKeyParameter instance.The key. encoded)Parse a public key. |
| public static AsymmetricKeyParameter | Returns: A CipherParameters instance.containing the SSH public key. buffer)Parse a public key from an SSHBuffer instance. |
| DSS | back to summary |
|---|---|
| private static final String DSS | |
| ECDSA | back to summary |
|---|---|
| private static final String ECDSA | |
| ED_25519 | back to summary |
|---|---|
| private static final String ED_25519 | |
| FIDO2_EC_P256 | back to summary |
|---|---|
| private static final String FIDO2_EC_P256 | |
| FIDO_ED_25519 | back to summary |
|---|---|
| private static final String FIDO_ED_25519 | |
| RSA | back to summary |
|---|---|
| private static final String RSA | |
| OpenSSHPublicKeyUtil | back to summary |
|---|---|
| private OpenSSHPublicKeyUtil() | |
| encodePublicKey | back to summary |
|---|---|
| public static byte[] encodePublicKey(AsymmetricKeyParameter cipherParameters) throws IOException Encode a public key from an AsymmetricKeyParameter instance.
| |
| parsePublicKey | back to summary |
|---|---|
| public static AsymmetricKeyParameter parsePublicKey(byte[] encoded) Parse a public key. This method accepts the bytes that are Base64 encoded in an OpenSSH public key file.
| |
| parsePublicKey | back to summary |
|---|---|
| public static AsymmetricKeyParameter parsePublicKey(SSHBuffer buffer) Parse a public key from an SSHBuffer instance.
| |