public class SshX509RsaPublicKey extends Ssh2RsaPublicKey implements SshX509PublicKey
| Modifier and Type | Field and Description |
|---|---|
static String |
X509V3_SIGN_RSA |
| Constructor and Description |
|---|
SshX509RsaPublicKey() |
SshX509RsaPublicKey(Certificate cert) |
| 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.
|
String |
getSigningAlgorithm()
The algorithm name expected to be encoded in SSH signatures
|
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, getVersion, hashCode, test, verifySignaturepublic static final String X509V3_SIGN_RSA
public SshX509RsaPublicKey()
public SshX509RsaPublicKey(Certificate cert)
public String getAlgorithm()
getAlgorithm in interface SshPublicKeygetAlgorithm in interface SecureComponentgetAlgorithm in class Ssh2RsaPublicKeypublic String getSigningAlgorithm()
SshPublicKeygetSigningAlgorithm in interface SshPublicKeygetSigningAlgorithm in class Ssh2RsaPublicKeypublic byte[] getEncoded()
throws SshException
getEncoded in interface SshPublicKeygetEncoded in class Ssh2RsaPublicKeySshExceptionpublic void init(byte[] blob,
int start,
int len)
throws SshException
init in interface SshPublicKeyinit in class Ssh2RsaPublicKeyblob - byte[]start - intlen - intSshExceptionpublic Certificate getCertificate()
getCertificate in interface SshX509PublicKeypublic Certificate[] getCertificateChain()
getCertificateChain in interface SshX509PublicKeyCopyright © 2025. All rights reserved.