Top Description Fields Constructors Methods
org.bouncycastle.asn1.x509

public Class IetfAttrSyntax

extends ASN1Object
Class Inheritance
Imports
java.util.Enumeration, .Vector, org.bouncycastle.asn1.ASN1Encodable, .ASN1EncodableVector, .ASN1Object, .ASN1ObjectIdentifier, .ASN1OctetString, .ASN1Primitive, .ASN1Sequence, .ASN1TaggedObject, .DEROctetString, .DERSequence, .DERTaggedObject, .DERUTF8String

Implementation of IetfAttrSyntax as specified by RFC3281.

Field Summary

Modifier and TypeField and Description
pack-priv GeneralNames
public static final int
public static final int
public static final int
pack-priv int
pack-priv Vector<E>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static IetfAttrSyntax
public GeneralNames
public Object[]
public int
public ASN1Primitive
toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

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

Inherited from org.bouncycastle.asn1.ASN1Object:
equalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

policyAuthorityback to summary
pack-priv GeneralNames policyAuthority
VALUE_OCTETSback to summary
public static final int VALUE_OCTETS
VALUE_OIDback to summary
public static final int VALUE_OID
VALUE_UTF8back to summary
public static final int VALUE_UTF8
valueChoiceback to summary
pack-priv int valueChoice
valuesback to summary
pack-priv Vector<E> values

Constructor Detail

IetfAttrSyntaxback to summary
private IetfAttrSyntax(ASN1Sequence seq)

Method Detail

getInstanceback to summary
public static IetfAttrSyntax getInstance(Object obj)
getPolicyAuthorityback to summary
public GeneralNames getPolicyAuthority()
getValuesback to summary
public Object[] getValues()
getValueTypeback to summary
public int getValueType()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

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

Returns:ASN1Primitive

Doc from org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

a primitive representation of this object.