Package 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 | Description
    --- | ---
    `BcPGPContentSignerBuilder​(int keyAlgorithm, int hashAlgorithm)` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | 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`