public class OpenSSHPublicKeySpec extends EncodedKeySpec
Constructor and Description |
---|
OpenSSHPublicKeySpec(byte[] encodedKey)
Construct and instance and determine the OpenSSH public key type.
|
Modifier and Type | Method and Description |
---|---|
String |
getFormat() |
String |
getType()
The type of OpenSSH public key.
|
getEncoded
public OpenSSHPublicKeySpec(byte[] encodedKey)
It does not validate the key beyond identifying the type.
encodedKey
- public String getFormat()
getFormat
in class EncodedKeySpec
public String getType()
Copyright © 2021 BouncyCastle.org. All rights reserved.