Class RSAKeypair

    • Constructor Detail

      • RSAKeypair

        public RSAKeypair​(String publicKey,
                          String privateKey)
        Constructs a new RSAKeypair with the given public key and private key.
        Parameters:
        publicKey - the RSA public key
        privateKey - the RSA private key
    • Method Detail

      • getPublicKey

        public String getPublicKey()
        Get the public key
        Returns:
        the public key
      • getPrivateKey

        public String getPrivateKey()
        Get the private key
        Returns:
        the private key