org.bouncycastle.asn1.x509

Class IetfAttrSyntax

public class IetfAttrSyntax extends ASN1Encodable

Implementation of IetfAttrSyntax as specified by RFC3281.
Field Summary
static intVALUE_OCTETS
static intVALUE_OID
static intVALUE_UTF8
Constructor Summary
IetfAttrSyntax(ASN1Sequence seq)
Method Summary
GeneralNamesgetPolicyAuthority()
Object[]getValues()
intgetValueType()
DERObjecttoASN1Object()
 
  IetfAttrSyntax ::= SEQUENCE {
    policyAuthority [0] GeneralNames OPTIONAL,
    values SEQUENCE OF CHOICE {
      octets OCTET STRING,
      oid OBJECT IDENTIFIER,
      string UTF8String
    }
  }
  
 

Field Detail

VALUE_OCTETS

public static final int VALUE_OCTETS

VALUE_OID

public static final int VALUE_OID

VALUE_UTF8

public static final int VALUE_UTF8

Constructor Detail

IetfAttrSyntax

public IetfAttrSyntax(ASN1Sequence seq)

Method Detail

getPolicyAuthority

public GeneralNames getPolicyAuthority()

getValues

public Object[] getValues()

getValueType

public int getValueType()

toASN1Object

public DERObject toASN1Object()
 
  IetfAttrSyntax ::= SEQUENCE {
    policyAuthority [0] GeneralNames OPTIONAL,
    values SEQUENCE OF CHOICE {
      octets OCTET STRING,
      oid OBJECT IDENTIFIER,
      string UTF8String
    }
  }