public abstract class SshX509EcdsaSha2NistPublicKeyRfc6187
extends com.sshtools.common.ssh.components.jce.Ssh2EcdsaSha2NistPublicKey
implements com.sshtools.common.ssh.components.SshX509PublicKey
Constructor and Description |
---|
SshX509EcdsaSha2NistPublicKeyRfc6187(java.security.cert.Certificate[] chain,
java.lang.String curve) |
SshX509EcdsaSha2NistPublicKeyRfc6187(java.security.interfaces.ECPublicKey pk,
java.lang.String curve) |
SshX509EcdsaSha2NistPublicKeyRfc6187(java.lang.String name,
java.lang.String spec,
java.lang.String curve,
java.lang.String nistpCurve) |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String |
getAlgorithm() |
java.security.cert.Certificate |
getCertificate() |
java.security.cert.Certificate[] |
getCertificateChain() |
byte[] |
getEncoded() |
void |
init(byte[] blob,
int start,
int len) |
equals, getBitLength, getCurve, getCurveParams, getEncodingAlgorithm, getFingerprint, getJCEPublicKey, getOid, getPriority, getPublicOctet, getSecurityLevel, getSigningAlgorithm, hashCode, test, verifySignature
public SshX509EcdsaSha2NistPublicKeyRfc6187(java.lang.String name, java.lang.String spec, java.lang.String curve, java.lang.String nistpCurve)
public SshX509EcdsaSha2NistPublicKeyRfc6187(java.security.interfaces.ECPublicKey pk, java.lang.String curve) throws java.io.IOException
java.io.IOException
public SshX509EcdsaSha2NistPublicKeyRfc6187(java.security.cert.Certificate[] chain, java.lang.String curve) throws java.io.IOException
java.io.IOException
public void init(byte[] blob, int start, int len) throws com.sshtools.common.ssh.SshException
init
in interface com.sshtools.common.ssh.components.SshPublicKey
init
in class com.sshtools.common.ssh.components.jce.Ssh2EcdsaSha2NistPublicKey
com.sshtools.common.ssh.SshException
public java.security.cert.Certificate getCertificate()
getCertificate
in interface com.sshtools.common.ssh.components.SshX509PublicKey
public java.security.cert.Certificate[] getCertificateChain()
getCertificateChain
in interface com.sshtools.common.ssh.components.SshX509PublicKey
public abstract java.lang.String getAlgorithm()
getAlgorithm
in interface com.sshtools.common.ssh.components.SshPublicKey
getAlgorithm
in interface com.sshtools.common.ssh.SecureComponent
getAlgorithm
in class com.sshtools.common.ssh.components.jce.Ssh2EcdsaSha2NistPublicKey
public byte[] getEncoded() throws com.sshtools.common.ssh.SshException
getEncoded
in interface com.sshtools.common.ssh.components.SshPublicKey
getEncoded
in class com.sshtools.common.ssh.components.jce.Ssh2EcdsaSha2NistPublicKey
com.sshtools.common.ssh.SshException
Copyright © 2024. All rights reserved.