Package com.sshtools.common.publickey
Class RsaUtils
java.lang.Object
com.sshtools.common.publickey.RsaUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Stringdecrypt(SshRsaPrivateKey privateKey, String toDecrypt) static Stringdecrypt(SshRsaPublicKey publicKey, String toDecrypt) static StringdecryptOAEP(SshRsaPrivateKey privateKey, String toDecrypt) static Stringencrypt(SshRsaPrivateKey privateKey, String toEncrypt) static Stringencrypt(SshRsaPublicKey publicKey, String toEncrypt) static StringencryptOAEP(SshRsaPublicKey publicKey, String toEncrypt)