Interface AsymmetricKeyPair<PR extends PrivateKey,​PU extends PublicKey>

    • Method Detail

      • getPrivateKey

        PR getPrivateKey()
        Returns:
        the private key. Has to be kept secret.
      • getPublicKey

        PU getPublicKey()
        Returns:
        the public key. May be distributed or published.
      • getKeyPair

        KeyPair getKeyPair()
        Returns:
        the private and public key as java standard KeyPair.