Package org.bouncycastle.asn1.ess

## Class SigningCertificateV2

- java.lang.Object
- - org.bouncycastle.asn1.ASN1Object
  - - org.bouncycastle.asn1.ess.SigningCertificateV2

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

      public class SigningCertificateV2
      extends ASN1Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `SigningCertificateV2​(ESSCertIDv2 cert)` |
    `SigningCertificateV2​(ESSCertIDv2[] certs)` |
    `SigningCertificateV2​(ESSCertIDv2[] certs, PolicyInformation[] policies)` |

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `ESSCertIDv2[]` | `getCerts()` |
    `static SigningCertificateV2` | `getInstance​(java.lang.Object o)` |
    `PolicyInformation[]` | `getPolicies()` |
    `ASN1Primitive` | `toASN1Primitive()` | The definition of SigningCertificateV2 is

    - ### 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

    - #### SigningCertificateV2

          public SigningCertificateV2​(ESSCertIDv2 cert)

    - #### SigningCertificateV2

          public SigningCertificateV2​(ESSCertIDv2[] certs)

    - #### SigningCertificateV2

          public SigningCertificateV2​(ESSCertIDv2[] certs,
                                      PolicyInformation[] policies)

  - ### Method Detail

    - #### getInstance

          public static SigningCertificateV2 getInstance​(java.lang.Object o)

    - #### getCerts

          public ESSCertIDv2[] getCerts()

    - #### getPolicies

          public PolicyInformation[] getPolicies()

    - #### toASN1Primitive

          public ASN1Primitive toASN1Primitive()

      The definition of SigningCertificateV2 is

           SigningCertificateV2 ::=  SEQUENCE {
                certs        SEQUENCE OF ESSCertIDv2,
                policies     SEQUENCE OF PolicyInformation OPTIONAL
           }

      id-aa-signingCertificateV2 OBJECT IDENTIFIER ::= { iso(1) member-body(2) us(840) rsadsi(113549) pkcs(1) pkcs9(9) smime(16) id-aa(2) 47 }
      Specified by:
        `toASN1Primitive` in interface `ASN1Encodable`
      Specified by:
        `toASN1Primitive` in class `ASN1Object`
      Returns:
        a primitive representation of this object.