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

public Class JcaPGPContentSignerBuilder

extends Object
implements PGPContentSignerBuilder
Class Inheritance
All Implemented Interfaces
org.bouncycastle.openpgp.operator.PGPContentSignerBuilder
Imports
java.io.OutputStream, java.security.InvalidKeyException, .PrivateKey, .Provider, .SecureRandom, .Signature, .SignatureException, org.bouncycastle.bcpg.PublicKeyAlgorithmTags, org.bouncycastle.jcajce.io.OutputStreamFactory, org.bouncycastle.jcajce.util.DefaultJcaJceHelper, .NamedJcaJceHelper, .ProviderJcaJceHelper, org.bouncycastle.openpgp.PGPException, .PGPPrivateKey, .PGPRuntimeOperationException, org.bouncycastle.openpgp.operator.PGPContentSigner, .PGPContentSignerBuilder, .PGPDigestCalculator, org.bouncycastle.util.io.TeeOutputStream

Field Summary

Modifier and TypeField and Description
private JcaPGPDigestCalculatorProviderBuilder
private int
private OperatorHelper
private int
private JcaPGPKeyConverter
private SecureRandom

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public PGPContentSigner
public PGPContentSigner
build(final int signatureType, final long keyID, final PrivateKey privateKey)

public JcaPGPContentSignerBuilder
public JcaPGPContentSignerBuilder
setDigestProvider(String providerName)

public JcaPGPContentSignerBuilder
public JcaPGPContentSignerBuilder
setProvider(String providerName)

public JcaPGPContentSignerBuilder
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

digestCalculatorProviderBuilderback to summary
private JcaPGPDigestCalculatorProviderBuilder digestCalculatorProviderBuilder
hashAlgorithmback to summary
private int hashAlgorithm
helperback to summary
private OperatorHelper helper
keyAlgorithmback to summary
private int keyAlgorithm
keyConverterback to summary
private JcaPGPKeyConverter keyConverter
randomback to summary
private SecureRandom random

Constructor Detail

JcaPGPContentSignerBuilderback to summary
public JcaPGPContentSignerBuilder(int keyAlgorithm, int hashAlgorithm)

Method Detail

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

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

buildback to summary
public PGPContentSigner build(final int signatureType, final long keyID, final PrivateKey privateKey) throws PGPException
setDigestProviderback to summary
public JcaPGPContentSignerBuilder setDigestProvider(Provider provider)
setDigestProviderback to summary
public JcaPGPContentSignerBuilder setDigestProvider(String providerName)
setProviderback to summary
public JcaPGPContentSignerBuilder setProvider(Provider provider)
setProviderback to summary
public JcaPGPContentSignerBuilder setProvider(String providerName)
setSecureRandomback to summary
public JcaPGPContentSignerBuilder setSecureRandom(SecureRandom random)