Interface PBESecretKeyEncryptorFactory

    • Method Detail

      • build

        PBESecretKeyEncryptor build​(char[] passphrase,
                                    PublicKeyPacket pubKeyPacket)
        Build a new PBESecretKeyEncryptor instance from the given passphrase and public key packet.
        Parameters:
        passphrase - passphrase
        pubKeyPacket - public-key packet of the key to protect (needed for AEAD)
        Returns:
        key encryptor