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

public abstract Class PGPContentSignerBuilderProvider

extends Object
Class Inheritance
Known Direct Subclasses
org.bouncycastle.openpgp.operator.bc.BcPGPContentSignerBuilderProvider, org.bouncycastle.openpgp.operator.jcajce.JcaPGPContentSignerBuilderProvider
Imports
org.bouncycastle.openpgp.PGPPublicKey

Provider class for PGPContentSignerBuilder instances. Concrete implementations of this class can choose the cryptographic backend (BC, JCA/JCE).

Field Summary

Modifier and TypeField and Description
protected final int

Constructor Summary

AccessConstructor and Description
public
PGPContentSignerBuilderProvider(int
ID of the hash algorithm the PGPContentSignerBuilder shall use.
hashAlgorithmId
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public abstract PGPContentSignerBuilder

Returns:

content signer builder
get
(PGPPublicKey
public part of the signing key
signingKey
)

Return a new instance of the PGPContentSignerBuilder for the given signing key.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

hashAlgorithmIdback to summary
protected final int hashAlgorithmId

Constructor Detail

PGPContentSignerBuilderProviderback to summary
public PGPContentSignerBuilderProvider(int hashAlgorithmId)

Constructor.

Parameters
hashAlgorithmId:int

ID of the hash algorithm the PGPContentSignerBuilder shall use.

Method Detail

getback to summary
public abstract PGPContentSignerBuilder get(PGPPublicKey signingKey)

Return a new instance of the PGPContentSignerBuilder for the given signing key.

Parameters
signingKey:PGPPublicKey

public part of the signing key

Returns:PGPContentSignerBuilder

content signer builder