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

public Class BcPGPContentSignerBuilder

extends Object
implements PGPContentSignerBuilder
Class Inheritance
All Implemented Interfaces
org.bouncycastle.openpgp.operator.PGPContentSignerBuilder
Imports
java.io.OutputStream, java.security.SecureRandom, org.bouncycastle.crypto.CryptoException, .Signer, org.bouncycastle.crypto.params.AsymmetricKeyParameter, .ParametersWithRandom, org.bouncycastle.openpgp.PGPException, .PGPPrivateKey, org.bouncycastle.openpgp.operator.PGPContentSigner, .PGPContentSignerBuilder, .PGPDigestCalculator, org.bouncycastle.util.io.TeeOutputStream

Field Summary

Modifier and TypeField and Description
private BcPGPDigestCalculatorProvider
private int
private int
private BcPGPKeyConverter
private SecureRandom

Constructor Summary

AccessConstructor and Description
public
BcPGPContentSignerBuilder(int keyAlgorithm, int hashAlgorithm)

Method Summary

Modifier and TypeMethod and Description
public PGPContentSigner
build(final int signatureType, final PGPPrivateKey privateKey)

Implements org.bouncycastle.openpgp.operator.PGPContentSignerBuilder.build.

public BcPGPContentSignerBuilder
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

digestCalculatorProviderback to summary
private BcPGPDigestCalculatorProvider digestCalculatorProvider
hashAlgorithmback to summary
private int hashAlgorithm
keyAlgorithmback to summary
private int keyAlgorithm
keyConverterback to summary
private BcPGPKeyConverter keyConverter
randomback to summary
private SecureRandom random

Constructor Detail

BcPGPContentSignerBuilderback to summary
public BcPGPContentSignerBuilder(int keyAlgorithm, int hashAlgorithm)

Method Detail

buildback to summary
public PGPContentSigner build(final int signatureType, final PGPPrivateKey privateKey) throws PGPException

Implements org.bouncycastle.openpgp.operator.PGPContentSignerBuilder.build.

setSecureRandomback to summary
public BcPGPContentSignerBuilder setSecureRandom(SecureRandom random)