| Modifier and Type | Field and Description |
|---|---|
| private static final String[] | |
| private final String |
| Access | Constructor and Description |
|---|---|
| public | OpenSSHPublicKeySpec(byte[] encodedKey)
Construct and instance and determine the OpenSSH public key type. |
| Modifier and Type | Method and Description |
|---|---|
| public String | getFormat()
Implements abstract java. Returns the name of the encoding format associated with this key specification. |
| public String |
| allowedTypes | back to summary |
|---|---|
| private static final String[] allowedTypes | |
| type | back to summary |
|---|---|
| private final String type | |
| OpenSSHPublicKeySpec | back to summary |
|---|---|
| public OpenSSHPublicKeySpec(byte[] encodedKey) Construct and instance and determine the OpenSSH public key type. The current types are ssh-rsa, ssh-ed25519, ssh-dss and ecdsa-* It does not validate the key beyond identifying the type. | |
| getFormat | back to summary |
|---|---|
| public String getFormat() Implements abstract java. Doc from java. Returns the name of the encoding format associated with this key specification. If the opaque representation of a key
(see
| |
| getType | back to summary |
|---|---|
| public String getType() The type of OpenSSH public key.
| |