SignedDVCSMessageGenerator (Bouncy Castle Library 1.54 API Specification)
Date: 2015-12-29

org.bouncycastle.dvcs

## Class SignedDVCSMessageGenerator

- java.lang.Object
- - org.bouncycastle.dvcs.SignedDVCSMessageGenerator

-     public class SignedDVCSMessageGenerator
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SignedDVCSMessageGenerator(CMSSignedDataGenerator signedDataGen)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `CMSSignedData` | `build(DVCSMessage message)` Creates a CMSSignedData object containing the passed in DVCSMessage

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### SignedDVCSMessageGenerator

          public SignedDVCSMessageGenerator(CMSSignedDataGenerator signedDataGen)

  - ### Method Detail

    - #### build

          public CMSSignedData build(DVCSMessage message)
                              throws DVCSException

      Creates a CMSSignedData object containing the passed in DVCSMessage
      Parameters:
        `message` - the request to be signed.
      Returns:
        an encapsulating SignedData object.
      Throws:
        `DVCSException` - in the event of failure to encode the request or sign it.