public class SshX509Rsa2048Sha256Rfc6187 extends Ssh2RsaPublicKey implements SshX509PublicKey
Modifier and Type | Field and Description |
---|---|
static String |
X509V3_SSH_RSA |
Constructor and Description |
---|
SshX509Rsa2048Sha256Rfc6187() |
SshX509Rsa2048Sha256Rfc6187(Certificate[] chain) |
Modifier and Type | Method and Description |
---|---|
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.
|
void |
init(byte[] blob,
int start,
int len)
Initialize the public key from a blob of binary data.
|
doPublic, equals, getBitLength, getEncodingAlgorithm, getFingerprint, getJCEPublicKey, getModulus, getPriority, getPublicExponent, getSecurityLevel, getSignatureLength, getSigningAlgorithm, getVersion, hashCode, test, verifySignature
public static final String X509V3_SSH_RSA
public SshX509Rsa2048Sha256Rfc6187()
public SshX509Rsa2048Sha256Rfc6187(Certificate[] chain)
public void init(byte[] blob, int start, int len) throws SshException
SshPublicKey
init
in interface SshPublicKey
init
in class Ssh2RsaPublicKey
SshException
public Certificate getCertificate()
getCertificate
in interface SshX509PublicKey
public Certificate[] getCertificateChain()
getCertificateChain
in interface SshX509PublicKey
public String getAlgorithm()
SshPublicKey
getAlgorithm
in interface SshPublicKey
getAlgorithm
in interface SecureComponent
getAlgorithm
in class Ssh2RsaPublicKey
public byte[] getEncoded() throws SshException
SshPublicKey
getEncoded
in interface SshPublicKey
getEncoded
in class Ssh2RsaPublicKey
SshException
Copyright © 2024. All rights reserved.