Controls (Bouncy Castle Library 1.52 API Specification)

org.bouncycastle.asn1.crmf

## Class Controls

- java.lang.Object
- - org.bouncycastle.asn1.ASN1Object
  - - org.bouncycastle.asn1.crmf.Controls

- All Implemented Interfaces:
    ASN1Encodable, Encodable

      public class Controls
      extends ASN1Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Controls(AttributeTypeAndValue atv)`
    `Controls(AttributeTypeAndValue[] atvs)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static Controls` | `getInstance(java.lang.Object o)`
    `ASN1Primitive` | `toASN1Primitive()` Controls ::= SEQUENCE SIZE(1..MAX) OF AttributeTypeAndValue
    `AttributeTypeAndValue[]` | `toAttributeTypeAndValueArray()`

    - ### Methods inherited from class org.bouncycastle.asn1.ASN1Object

      `equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Object`

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

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

- - ### Constructor Detail

    - #### Controls

          public Controls(AttributeTypeAndValue atv)

    - #### Controls

          public Controls(AttributeTypeAndValue[] atvs)

  - ### Method Detail

    - #### getInstance

          public static Controls getInstance(java.lang.Object o)

    - #### toAttributeTypeAndValueArray

          public AttributeTypeAndValue[] toAttributeTypeAndValueArray()

    - #### toASN1Primitive

          public ASN1Primitive toASN1Primitive()

           Controls  ::= SEQUENCE SIZE(1..MAX) OF AttributeTypeAndValue

      Specified by:
        `toASN1Primitive` in interface `ASN1Encodable`
      Specified by:
        `toASN1Primitive` in class `ASN1Object`
      Returns:
        a basic ASN.1 object representation.