JceCMSMacCalculatorBuilder (Bouncy Castle Library 1.52 API Specification)
Date: 2015-03-01

org.bouncycastle.cms.jcajce

## Class JceCMSMacCalculatorBuilder

- java.lang.Object
- - org.bouncycastle.cms.jcajce.JceCMSMacCalculatorBuilder

-     public class JceCMSMacCalculatorBuilder
      extends java.lang.Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `JceCMSMacCalculatorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier macOID)`
    `JceCMSMacCalculatorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier macOID, int keySize)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `MacCalculator` | `build()`
    `JceCMSMacCalculatorBuilder` | `setProvider(java.security.Provider provider)`
    `JceCMSMacCalculatorBuilder` | `setProvider(java.lang.String providerName)`
    `JceCMSMacCalculatorBuilder` | `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

    - #### JceCMSMacCalculatorBuilder

          public JceCMSMacCalculatorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier macOID)

    - #### JceCMSMacCalculatorBuilder

          public JceCMSMacCalculatorBuilder(org.bouncycastle.asn1.ASN1ObjectIdentifier macOID,
                                    int keySize)

  - ### Method Detail

    - #### setProvider

          public JceCMSMacCalculatorBuilder setProvider(java.security.Provider provider)

    - #### setProvider

          public JceCMSMacCalculatorBuilder setProvider(java.lang.String providerName)

    - #### setSecureRandom

          public JceCMSMacCalculatorBuilder setSecureRandom(java.security.SecureRandom random)

    - #### build

          public MacCalculator build()
                              throws CMSException

      Throws:
        `CMSException`