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

public Class JcaCFBSecretKeyEncryptorFactory

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

Field Summary

Modifier and TypeField and Description
private JcaPGPDigestCalculatorProviderBuilder
private JcePBESecretKeyEncryptorBuilder

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.

private JcePBESecretKeyEncryptorBuilder
public JcaCFBSecretKeyEncryptorFactory
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

digestCalcProviderBuilderback to summary
private JcaPGPDigestCalculatorProviderBuilder digestCalcProviderBuilder
encBuilderback to summary
private JcePBESecretKeyEncryptorBuilder encBuilder

Constructor Detail

JcaCFBSecretKeyEncryptorFactoryback to summary
public JcaCFBSecretKeyEncryptorFactory() throws PGPException

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
builderback to summary
private JcePBESecretKeyEncryptorBuilder builder() throws PGPException
setProviderback to summary
public JcaCFBSecretKeyEncryptorFactory setProvider(Provider provider) throws PGPException