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

    • Method Detail

      • newEncryptor

        default Encryptor newEncryptor​(PU publicKey)
        Parameters:
        publicKey - the PublicKey to use for encryption.
        Returns:
        the Encryptor for encryption.
      • newDecryptor

        default Decryptor newDecryptor​(PR privateKey)
        Parameters:
        privateKey - the PrivateKey to use for decryption.
        Returns:
        the Decryptor for decryption.