BcPGPContentSignerBuilder
Date: 2016-06-23

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

    Constructors
    Constructor and Description
    `BcPGPContentSignerBuilder(int keyAlgorithm, int hashAlgorithm)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `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`
      Throws:
        `PGPException`