Top Fields Constructors Methods
org.bouncycastle.openpgp.operator.jcajce

public Class JcaAEADSecretKeyEncryptorFactory

extends Object
implements PBESecretKeyEncryptorFactory
Class Inheritance
All Implemented Interfaces
org.bouncycastle.openpgp.operator.PBESecretKeyEncryptorFactory
Imports
org.bouncycastle.bcpg.AEADAlgorithmTags, .PublicKeyPacket, .S2K, .SymmetricKeyAlgorithmTags, org.bouncycastle.openpgp.operator.PBESecretKeyEncryptor, .PBESecretKeyEncryptorFactory, java.security.Provider

Field Summary

Modifier and TypeField and Description
private JcaAEADSecretKeyEncryptorBuilder

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public PBESecretKeyEncryptor
build(char[]
passphrase
passphrase
,
PublicKeyPacket
public-key packet of the key to protect (needed for AEAD)
pubKeyPacket
)

Implements org.bouncycastle.openpgp.operator.PBESecretKeyEncryptorFactory.build.

Build a new PBESecretKeyEncryptor instance from the given passphrase and public key packet.

public JcaAEADSecretKeyEncryptorFactory
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

builderback to summary
private JcaAEADSecretKeyEncryptorBuilder builder

Constructor Detail

JcaAEADSecretKeyEncryptorFactoryback to summary
public JcaAEADSecretKeyEncryptorFactory()

Method Detail

buildback to summary
public PBESecretKeyEncryptor build(char[] passphrase, PublicKeyPacket pubKeyPacket)

Implements org.bouncycastle.openpgp.operator.PBESecretKeyEncryptorFactory.build.

Doc from org.bouncycastle.openpgp.operator.PBESecretKeyEncryptorFactory.build.

Build a new PBESecretKeyEncryptor instance from the given passphrase and public key packet.

Parameters
passphrase:char[]

passphrase

pubKeyPacket:PublicKeyPacket

public-key packet of the key to protect (needed for AEAD)

Returns:PBESecretKeyEncryptor

key encryptor

Annotations
@Override
setProviderback to summary
public JcaAEADSecretKeyEncryptorFactory setProvider(Provider provider)