org.bouncycastle.asn1.x509
Class IetfAttrSyntax
java.lang.Object
org.bouncycastle.asn1.ASN1Encodable
org.bouncycastle.asn1.x509.IetfAttrSyntax
- All Implemented Interfaces:
- DEREncodable
public class IetfAttrSyntax
- extends ASN1Encodable
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
- See Also:
- Constant Field Values
VALUE_OID
public static final int VALUE_OID
- See Also:
- Constant Field Values
VALUE_UTF8
public static final int VALUE_UTF8
- See Also:
- Constant Field Values
IetfAttrSyntax
public IetfAttrSyntax(ASN1Sequence seq)
getPolicyAuthority
public GeneralNames getPolicyAuthority()
getValueType
public int getValueType()
getValues
public java.lang.Object[] getValues()
toASN1Object
public DERObject toASN1Object()
IetfAttrSyntax ::= SEQUENCE {
policyAuthority [0] GeneralNames OPTIONAL,
values SEQUENCE OF CHOICE {
octets OCTET STRING,
oid OBJECT IDENTIFIER,
string UTF8String
}
}
- Specified by:
toASN1Object
in class ASN1Encodable