Class SshRsaPrivateKey


  • public class SshRsaPrivateKey
    extends SshPrivateKey
    Version:
    $Revision: 1.19 $
    Author:
    $author$
    • Constructor Detail

      • SshRsaPrivateKey

        public SshRsaPrivateKey​(java.security.interfaces.RSAPrivateKey prv,
                                java.security.interfaces.RSAPublicKey pub)
        Creates a new SshRsaPrivateKey object.
        Parameters:
        prv -
        pub -
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
        Parameters:
        obj -
        Returns:
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        Returns:
      • generateSignature

        public byte[] generateSignature​(byte[] data)
        Specified by:
        generateSignature in class SshPrivateKey
        Parameters:
        data -
        Returns: