Package org.bouncycastle.asn1.x509.qualified

## Class QCStatement

- java.lang.Object
- - org.bouncycastle.asn1.ASN1Object
  - - org.bouncycastle.asn1.x509.qualified.QCStatement

- All Implemented Interfaces:
    `ASN1Encodable`, `ETSIQCObjectIdentifiers`, `RFC3739QCObjectIdentifiers`, `Encodable`

      public class QCStatement
      extends ASN1Object
      implements ETSIQCObjectIdentifiers, RFC3739QCObjectIdentifiers

  The QCStatement object.

       QCStatement ::= SEQUENCE {
         statementId        OBJECT IDENTIFIER,
         statementInfo      ANY DEFINED BY statementId OPTIONAL}

- - ### Field Summary

    - ### Fields inherited from interface org.bouncycastle.asn1.x509.qualified.ETSIQCObjectIdentifiers

      `id_etsi_qcs_LimiteValue, id_etsi_qcs_QcCompliance, id_etsi_qcs_QcPds, id_etsi_qcs_QcSSCD, id_etsi_qcs_QcType, id_etsi_qcs_RetentionPeriod, id_etsi_qct_eseal, id_etsi_qct_esign, id_etsi_qct_web`

    - ### Fields inherited from interface org.bouncycastle.asn1.x509.qualified.RFC3739QCObjectIdentifiers

      `id_qcs_pkixQCSyntax_v1, id_qcs_pkixQCSyntax_v2`

  - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `QCStatement​(ASN1ObjectIdentifier qcStatementId)` |
    `QCStatement​(ASN1ObjectIdentifier qcStatementId, ASN1Encodable qcStatementInfo)` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `static QCStatement` | `getInstance​(java.lang.Object obj)` |
    `ASN1ObjectIdentifier` | `getStatementId()` |
    `ASN1Encodable` | `getStatementInfo()` |
    `ASN1Primitive` | `toASN1Primitive()` | Method providing a primitive representation of this object suitable for encoding.

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

      `encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode`

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

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

- - ### Constructor Detail

    - #### QCStatement

          public QCStatement​(ASN1ObjectIdentifier qcStatementId)

    - #### QCStatement

          public QCStatement​(ASN1ObjectIdentifier qcStatementId,
                             ASN1Encodable qcStatementInfo)

  - ### Method Detail

    - #### getInstance

          public static QCStatement getInstance​(java.lang.Object obj)

    - #### getStatementId

          public ASN1ObjectIdentifier getStatementId()

    - #### getStatementInfo

          public ASN1Encodable getStatementInfo()

    - #### toASN1Primitive

          public ASN1Primitive toASN1Primitive()

      Description copied from class: `ASN1Object`
      Method providing a primitive representation of this object suitable for encoding.
      Specified by:
        `toASN1Primitive` in interface `ASN1Encodable`
      Specified by:
        `toASN1Primitive` in class `ASN1Object`
      Returns:
        a primitive representation of this object.