Bouncy Castle Cryptography Library 1.79

org.bouncycastle.openpgp.operator.bc
Class BcPGPContentSignerBuilder

java.lang.Object
  |
  +--org.bouncycastle.openpgp.operator.bc.BcPGPContentSignerBuilder
All Implemented Interfaces:
PGPContentSignerBuilder

public class BcPGPContentSignerBuilder
extends java.lang.Object
implements PGPContentSignerBuilder


Constructor Summary
BcPGPContentSignerBuilder(int keyAlgorithm, int hashAlgorithm)
           
 
Method Summary
 PGPContentSigner build(int signatureType, PGPPrivateKey privateKey)
           
 BcPGPContentSignerBuilder setSecureRandom(java.security.SecureRandom random)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BcPGPContentSignerBuilder

public BcPGPContentSignerBuilder(int keyAlgorithm,
                                 int hashAlgorithm)
Method Detail

setSecureRandom

public BcPGPContentSignerBuilder setSecureRandom(java.security.SecureRandom random)

build

public PGPContentSigner build(int signatureType,
                              PGPPrivateKey privateKey)
                       throws PGPException
Specified by:
build in interface PGPContentSignerBuilder

Bouncy Castle Cryptography Library 1.79