Package com.sshtools.common.ssh.x509
Class SshX509EcdsaSha2NistPublicKeyRfc6187
java.lang.Object
com.sshtools.common.ssh.components.jce.Ssh2EcdsaSha2NistPublicKey
com.sshtools.common.ssh.x509.SshX509EcdsaSha2NistPublicKeyRfc6187
- All Implemented Interfaces:
com.sshtools.common.ssh.components.Component
,com.sshtools.common.ssh.components.SshPublicKey
,com.sshtools.common.ssh.components.SshX509PublicKey
,com.sshtools.common.ssh.SecureComponent
- Direct Known Subclasses:
SshX509EcdsaSha2Nist256Rfc6187
,SshX509EcdsaSha2Nist384Rfc6187
,SshX509EcdsaSha2Nist521Rfc6187
public abstract class SshX509EcdsaSha2NistPublicKeyRfc6187
extends com.sshtools.common.ssh.components.jce.Ssh2EcdsaSha2NistPublicKey
implements com.sshtools.common.ssh.components.SshX509PublicKey
-
Field Summary
Fields inherited from class com.sshtools.common.ssh.components.jce.Ssh2EcdsaSha2NistPublicKey
pub
-
Constructor Summary
ConstructorsConstructorDescriptionSshX509EcdsaSha2NistPublicKeyRfc6187
(String name, String spec, String curve, String nistpCurve) SshX509EcdsaSha2NistPublicKeyRfc6187
(Certificate[] chain, String curve) -
Method Summary
Methods inherited from class com.sshtools.common.ssh.components.jce.Ssh2EcdsaSha2NistPublicKey
equals, getBitLength, getCurve, getCurveParams, getEncodingAlgorithm, getFingerprint, getJCEPublicKey, getOid, getPriority, getPublicOctet, getSecurityLevel, getSigningAlgorithm, hashCode, test, verifySignature
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sshtools.common.ssh.components.SshPublicKey
init, isCertificate
-
Constructor Details
-
SshX509EcdsaSha2NistPublicKeyRfc6187
-
SshX509EcdsaSha2NistPublicKeyRfc6187
- Throws:
IOException
-
SshX509EcdsaSha2NistPublicKeyRfc6187
- Throws:
IOException
-
-
Method Details
-
init
public com.sshtools.common.ssh.components.SshPublicKey init(byte[] blob, int start, int len) throws com.sshtools.common.ssh.SshException - Specified by:
init
in interfacecom.sshtools.common.ssh.components.SshPublicKey
- Overrides:
init
in classcom.sshtools.common.ssh.components.jce.Ssh2EcdsaSha2NistPublicKey
- Throws:
com.sshtools.common.ssh.SshException
-
getCertificate
- Specified by:
getCertificate
in interfacecom.sshtools.common.ssh.components.SshX509PublicKey
-
getCertificateChain
- Specified by:
getCertificateChain
in interfacecom.sshtools.common.ssh.components.SshX509PublicKey
-
getAlgorithm
- Specified by:
getAlgorithm
in interfacecom.sshtools.common.ssh.SecureComponent
- Specified by:
getAlgorithm
in interfacecom.sshtools.common.ssh.components.SshPublicKey
- Overrides:
getAlgorithm
in classcom.sshtools.common.ssh.components.jce.Ssh2EcdsaSha2NistPublicKey
-
getEncoded
public byte[] getEncoded() throws com.sshtools.common.ssh.SshException- Specified by:
getEncoded
in interfacecom.sshtools.common.ssh.components.SshPublicKey
- Overrides:
getEncoded
in classcom.sshtools.common.ssh.components.jce.Ssh2EcdsaSha2NistPublicKey
- Throws:
com.sshtools.common.ssh.SshException
-