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, verifySignature
public SshX509EcdsaSha2NistPublicKeyRfc6187(String name, String spec, String curve, String nistpCurve)
public SshX509EcdsaSha2NistPublicKeyRfc6187(ECPublicKey pk, String curve) throws IOException
IOException
public SshX509EcdsaSha2NistPublicKeyRfc6187(Certificate[] chain, String curve) throws IOException
IOException
public int getPriority()
getPriority
in interface SecureComponent
getPriority
in class Ssh2EcdsaSha2NistPublicKey
public void init(byte[] blob, int start, int len) throws SshException
SshPublicKey
init
in interface SshPublicKey
init
in class Ssh2EcdsaSha2NistPublicKey
SshException
public Certificate getCertificate()
getCertificate
in interface SshX509PublicKey
public Certificate[] getCertificateChain()
getCertificateChain
in interface SshX509PublicKey
public abstract String getAlgorithm()
SshPublicKey
getAlgorithm
in interface SshPublicKey
getAlgorithm
in interface SecureComponent
getAlgorithm
in class Ssh2EcdsaSha2NistPublicKey
public byte[] getEncoded() throws SshException
SshPublicKey
getEncoded
in interface SshPublicKey
getEncoded
in class Ssh2EcdsaSha2NistPublicKey
SshException
Copyright © 2024. All rights reserved.