public class SshX509Rsa2048Sha256Rfc6187
extends com.sshtools.common.ssh.components.jce.Ssh2RsaPublicKey
implements com.sshtools.common.ssh.components.SshX509PublicKey
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
X509V3_SSH_RSA |
Constructor and Description |
---|
SshX509Rsa2048Sha256Rfc6187() |
SshX509Rsa2048Sha256Rfc6187(java.security.cert.Certificate[] chain) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithm() |
java.security.cert.Certificate |
getCertificate() |
java.security.cert.Certificate[] |
getCertificateChain() |
byte[] |
getEncoded() |
com.sshtools.common.ssh.SecurityLevel |
getSecurityLevel() |
void |
init(byte[] blob,
int start,
int len) |
doPublic, equals, getBitLength, getEncodingAlgorithm, getFingerprint, getJCEPublicKey, getModulus, getPriority, getPublicExponent, getSignatureLength, getSigningAlgorithm, getVersion, hashCode, test, verifySignature
public static final java.lang.String X509V3_SSH_RSA
public SshX509Rsa2048Sha256Rfc6187()
public SshX509Rsa2048Sha256Rfc6187(java.security.cert.Certificate[] chain)
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.Ssh2RsaPublicKey
com.sshtools.common.ssh.SshException
public com.sshtools.common.ssh.SecurityLevel getSecurityLevel()
getSecurityLevel
in interface com.sshtools.common.ssh.SecureComponent
getSecurityLevel
in class com.sshtools.common.ssh.components.jce.Ssh2RsaPublicKey
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 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.Ssh2RsaPublicKey
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.Ssh2RsaPublicKey
com.sshtools.common.ssh.SshException
Copyright © 2024. All rights reserved.