Class Ssh2RsaPublicKeySHA512
java.lang.Object
com.sshtools.common.ssh.components.jce.Ssh2RsaPublicKey
com.sshtools.common.ssh.components.jce.Ssh2RsaPublicKeySHA512
- All Implemented Interfaces:
Component,SshPublicKey,SshRsaPublicKey,SecureComponent
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classNested classes/interfaces inherited from class com.sshtools.common.ssh.components.jce.Ssh2RsaPublicKey
Ssh2RsaPublicKey.Ssh2RsaPublicKeyFactory -
Field Summary
Fields inherited from class com.sshtools.common.ssh.components.jce.Ssh2RsaPublicKey
pubKey -
Constructor Summary
ConstructorsConstructorDescriptionSsh2RsaPublicKeySHA512(SshRsaPublicKey publicKey) Ssh2RsaPublicKeySHA512(BigInteger modulus, BigInteger publicExponent) Ssh2RsaPublicKeySHA512(RSAPublicKey pubKey) -
Method Summary
Modifier and TypeMethodDescriptionGet the algorithm name for the public key.The algorithm name used in the encoding of the public keyintThe algorithm name expected to be encoded in SSH signaturesMethods inherited from class com.sshtools.common.ssh.components.jce.Ssh2RsaPublicKey
doPublic, equals, getBitLength, getEncoded, getFingerprint, getJCEPublicKey, getModulus, getPublicExponent, getSignatureLength, getVersion, hashCode, init, test, verifySignatureMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sshtools.common.ssh.components.SshPublicKey
init, isCertificate
-
Constructor Details
-
Ssh2RsaPublicKeySHA512
public Ssh2RsaPublicKeySHA512() -
Ssh2RsaPublicKeySHA512
public Ssh2RsaPublicKeySHA512(BigInteger modulus, BigInteger publicExponent) throws NoSuchAlgorithmException, InvalidKeySpecException -
Ssh2RsaPublicKeySHA512
-
Ssh2RsaPublicKeySHA512
-
-
Method Details
-
getSecurityLevel
- Specified by:
getSecurityLevelin interfaceSecureComponent- Overrides:
getSecurityLevelin classSsh2RsaPublicKey
-
getPriority
public int getPriority()- Specified by:
getPriorityin interfaceSecureComponent- Overrides:
getPriorityin classSsh2RsaPublicKey
-
getSigningAlgorithm
Description copied from interface:SshPublicKeyThe algorithm name expected to be encoded in SSH signatures- Specified by:
getSigningAlgorithmin interfaceSshPublicKey- Overrides:
getSigningAlgorithmin classSsh2RsaPublicKey
-
getAlgorithm
Description copied from interface:SshPublicKeyGet the algorithm name for the public key.- Specified by:
getAlgorithmin interfaceSecureComponent- Specified by:
getAlgorithmin interfaceSshPublicKey- Overrides:
getAlgorithmin classSsh2RsaPublicKey- Returns:
- the algorithm name, for example "ssh-dss"
-
getEncodingAlgorithm
Description copied from interface:SshPublicKeyThe algorithm name used in the encoding of the public key- Specified by:
getEncodingAlgorithmin interfaceSshPublicKey- Overrides:
getEncodingAlgorithmin classSsh2RsaPublicKey
-