org.bouncycastle.asn1.x509.qualified

Class SemanticsInformation

Implemented Interfaces:
DEREncodable

public class SemanticsInformation
extends ASN1Encodable

The SemanticsInformation object.
       SemanticsInformation ::= SEQUENCE {
         semanticsIdentifier        OBJECT IDENTIFIER   OPTIONAL,
         nameRegistrationAuthorities NameRegistrationAuthorities
                                                         OPTIONAL }
         (WITH COMPONENTS {..., semanticsIdentifier PRESENT}|
          WITH COMPONENTS {..., nameRegistrationAuthorities PRESENT})

     NameRegistrationAuthorities ::=  SEQUENCE SIZE (1..MAX) OF
         GeneralName
 

Field Summary

Fields inherited from class org.bouncycastle.asn1.ASN1Encodable

BER, DER

Constructor Summary

SemanticsInformation(ASN1Sequence seq)
SemanticsInformation(DERObjectIdentifier semanticsIdentifier)
SemanticsInformation(DERObjectIdentifier semanticsIdentifier, GeneralName[] generalNames)
SemanticsInformation(GeneralName[] generalNames)

Method Summary

static SemanticsInformation
getInstance(Object obj)
GeneralName[]
getNameRegistrationAuthorities()
DERObjectIdentifier
getSemanticsIdentifier()
DERObject
toASN1Object()

Methods inherited from class org.bouncycastle.asn1.ASN1Encodable

equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode, toASN1Object

Constructor Details

SemanticsInformation

public SemanticsInformation(ASN1Sequence seq)

SemanticsInformation

public SemanticsInformation(DERObjectIdentifier semanticsIdentifier)

SemanticsInformation

public SemanticsInformation(DERObjectIdentifier semanticsIdentifier,
                            GeneralName[] generalNames)

SemanticsInformation

public SemanticsInformation(GeneralName[] generalNames)

Method Details

getInstance

public static SemanticsInformation getInstance(Object obj)

getNameRegistrationAuthorities

public GeneralName[] getNameRegistrationAuthorities()

getSemanticsIdentifier

public DERObjectIdentifier getSemanticsIdentifier()

toASN1Object

public DERObject toASN1Object()
Overrides:
toASN1Object in interface ASN1Encodable