Interface SshRsaPublicKey
- All Superinterfaces:
Component,SecureComponent,SshPublicKey
- All Known Implementing Classes:
OpenSshRsaCertificate,OpenSshRsaSha256Certificate,OpenSshRsaSha512Certificate,Ssh2RsaPublicKey,Ssh2RsaPublicKeySHA256,Ssh2RsaPublicKeySHA512
This interface should be implemented by all RSA public key implementations.
- Author:
- Lee David Painter
-
Method Summary
Modifier and TypeMethodDescriptiondoPublic(BigInteger input) Return the JCE component for this key.intMethods inherited from interface com.sshtools.common.ssh.SecureComponent
getPriority, getSecurityLevelMethods inherited from interface com.sshtools.common.ssh.components.SshPublicKey
getAlgorithm, getBitLength, getEncoded, getEncodingAlgorithm, getFingerprint, getSigningAlgorithm, init, init, isCertificate, test, verifySignature
-
Method Details
-
getModulus
BigInteger getModulus() -
getPublicExponent
BigInteger getPublicExponent() -
getVersion
int getVersion() -
getJCEPublicKey
PublicKey getJCEPublicKey()Description copied from interface:SshPublicKeyReturn the JCE component for this key.- Specified by:
getJCEPublicKeyin interfaceSshPublicKey- Returns:
-
doPublic
- Throws:
SshException
-