public abstract class SshX509EcdsaSha2NistPublicKeyRfc6187 extends Ssh2EcdsaSha2NistPublicKey implements SshX509PublicKey
pub| Constructor and Description |
|---|
SshX509EcdsaSha2NistPublicKeyRfc6187(Certificate[] chain,
String curve) |
SshX509EcdsaSha2NistPublicKeyRfc6187(ECPublicKey pk,
String curve) |
SshX509EcdsaSha2NistPublicKeyRfc6187(String name,
String spec,
String curve,
String nistpCurve) |
| Modifier and Type | Method and Description |
|---|---|
abstract String |
getAlgorithm()
Get the algorithm name for the public key.
|
Certificate |
getCertificate() |
Certificate[] |
getCertificateChain() |
byte[] |
getEncoded()
Encode the public key into a blob of binary data, the encoded result will be
passed into init to recreate the key.
|
int |
getPriority() |
void |
init(byte[] blob,
int start,
int len)
Initialize the public key from a blob of binary data.
|
equals, getBitLength, getCurve, getCurveParams, getEncodingAlgorithm, getFingerprint, getJCEPublicKey, getOid, getPublicOctet, getSecurityLevel, getSigningAlgorithm, hashCode, test, verifySignaturepublic SshX509EcdsaSha2NistPublicKeyRfc6187(String name, String spec, String curve, String nistpCurve)
public SshX509EcdsaSha2NistPublicKeyRfc6187(ECPublicKey pk, String curve) throws IOException
IOExceptionpublic SshX509EcdsaSha2NistPublicKeyRfc6187(Certificate[] chain, String curve) throws IOException
IOExceptionpublic int getPriority()
getPriority in interface SecureComponentgetPriority in class Ssh2EcdsaSha2NistPublicKeypublic void init(byte[] blob,
int start,
int len)
throws SshException
SshPublicKeyinit in interface SshPublicKeyinit in class Ssh2EcdsaSha2NistPublicKeySshExceptionpublic Certificate getCertificate()
getCertificate in interface SshX509PublicKeypublic Certificate[] getCertificateChain()
getCertificateChain in interface SshX509PublicKeypublic abstract String getAlgorithm()
SshPublicKeygetAlgorithm in interface SshPublicKeygetAlgorithm in interface SecureComponentgetAlgorithm in class Ssh2EcdsaSha2NistPublicKeypublic byte[] getEncoded()
throws SshException
SshPublicKeygetEncoded in interface SshPublicKeygetEncoded in class Ssh2EcdsaSha2NistPublicKeySshExceptionCopyright © 2025. All rights reserved.