public class Ssh2RsaPublicKeySHA256 extends Ssh2RsaPublicKey
Constructor and Description |
---|
Ssh2RsaPublicKeySHA256() |
Ssh2RsaPublicKeySHA256(BigInteger modulus,
BigInteger publicExponent) |
Ssh2RsaPublicKeySHA256(RSAPublicKey pubKey) |
Ssh2RsaPublicKeySHA256(SshRsaPublicKey publicKey) |
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm()
Get the algorithm name for the public key.
|
String |
getEncodingAlgorithm()
The algorithm name used in the encoding of the public key
|
String |
getSigningAlgorithm()
The algorithm name expected to be encoded in SSH signatures
|
doPublic, equals, getBitLength, getEncoded, getFingerprint, getJCEPublicKey, getModulus, getPriority, getPublicExponent, getSecurityLevel, getSignatureLength, getVersion, hashCode, init, test, verifySignature
public Ssh2RsaPublicKeySHA256()
public Ssh2RsaPublicKeySHA256(BigInteger modulus, BigInteger publicExponent) throws NoSuchAlgorithmException, InvalidKeySpecException
public Ssh2RsaPublicKeySHA256(RSAPublicKey pubKey)
public Ssh2RsaPublicKeySHA256(SshRsaPublicKey publicKey)
public String getSigningAlgorithm()
SshPublicKey
getSigningAlgorithm
in interface SshPublicKey
getSigningAlgorithm
in class Ssh2RsaPublicKey
public String getAlgorithm()
SshPublicKey
getAlgorithm
in interface SshPublicKey
getAlgorithm
in interface SecureComponent
getAlgorithm
in class Ssh2RsaPublicKey
public String getEncodingAlgorithm()
SshPublicKey
getEncodingAlgorithm
in interface SshPublicKey
getEncodingAlgorithm
in class Ssh2RsaPublicKey
Copyright © 2024. All rights reserved.