org.bouncycastle.asn1.x509
Class IetfAttrSyntax
java.lang.Object
|
+--org.bouncycastle.asn1.ASN1Object
|
+--org.bouncycastle.asn1.x509.IetfAttrSyntax
- All Implemented Interfaces:
- ASN1Encodable, Encodable
- public class IetfAttrSyntax
- extends ASN1Object
Implementation of IetfAttrSyntax as specified by RFC3281.
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
VALUE_OCTETS
public static final int VALUE_OCTETS
VALUE_OID
public static final int VALUE_OID
VALUE_UTF8
public static final int VALUE_UTF8
getInstance
public static IetfAttrSyntax getInstance(java.lang.Object obj)
getPolicyAuthority
public GeneralNames getPolicyAuthority()
getValueType
public int getValueType()
getValues
public java.lang.Object[] getValues()
toASN1Primitive
public ASN1Primitive toASN1Primitive()
- IetfAttrSyntax ::= SEQUENCE {
policyAuthority [0] GeneralNames OPTIONAL,
values SEQUENCE OF CHOICE {
octets OCTET STRING,
oid OBJECT IDENTIFIER,
string UTF8String
}
}
- Overrides:
toASN1Primitive
in class ASN1Object
- Following copied from class:
org.bouncycastle.asn1.ASN1Object
- Returns:
- a primitive representation of this object.