public class SshX509DsaPublicKeyRfc6187 extends Ssh2DsaPublicKey implements SshX509PublicKey
| Modifier and Type | Field and Description |
|---|---|
static String |
X509V3_SSH_DSS |
pubkey| Constructor and Description |
|---|
SshX509DsaPublicKeyRfc6187() |
SshX509DsaPublicKeyRfc6187(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.
|
equals, getBitLength, getEncodingAlgorithm, getFingerprint, getG, getJCEPublicKey, getP, getPriority, getQ, getSecurityLevel, getSigningAlgorithm, getY, hashCode, test, verifySignaturepublic static final String X509V3_SSH_DSS
public SshX509DsaPublicKeyRfc6187()
public SshX509DsaPublicKeyRfc6187(Certificate[] chain)
public void init(byte[] blob,
int start,
int len)
throws SshException
Ssh2DsaPublicKeyinit in interface SshPublicKeyinit in class Ssh2DsaPublicKeyblob - byte[]start - intlen - intSshExceptionpublic Certificate getCertificate()
getCertificate in interface SshX509PublicKeypublic Certificate[] getCertificateChain()
getCertificateChain in interface SshX509PublicKeypublic String getAlgorithm()
Ssh2DsaPublicKeygetAlgorithm in interface SshPublicKeygetAlgorithm in interface SecureComponentgetAlgorithm in class Ssh2DsaPublicKeypublic byte[] getEncoded()
throws SshException
Ssh2DsaPublicKeygetEncoded in interface SshPublicKeygetEncoded in class Ssh2DsaPublicKeySshExceptionCopyright © 2025. All rights reserved.