Package org.mozilla.jss.pkix.primitive
Class AVA
java.lang.Object
org.mozilla.jss.pkix.primitive.AVA
- All Implemented Interfaces:
ASN1Value
- Direct Known Subclasses:
Control
An AttributeValueAssertion, which has the following ASN.1
definition (roughly):
AttributeValueAssertion ::= SEQUENCE {
type OBJECT IDENTIFIER,
value ANY DEFINED BY type }
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(OutputStream ostream) Write this value's DER encoding to an output stream using its own base tag.voidencode(Tag implicit, OutputStream ostream) Write this value's DER encoding to an output stream using an implicit tag.getOID()getTag()Returns the base tag for this type, not counting any tags that may be imposed on it by its context.getValue()Returns the value of this AVA, encoded as an ANY.
-
Field Details
-
oid
-
value
-
TAG
-
-
Constructor Details
-
AVA
-
-
Method Details
-
getTag
Description copied from interface:ASN1ValueReturns the base tag for this type, not counting any tags that may be imposed on it by its context. -
getOID
-
getValue
Returns the value of this AVA, encoded as an ANY. -
encode
Description copied from interface:ASN1ValueWrite this value's DER encoding to an output stream using its own base tag.- Specified by:
encodein interfaceASN1Value- Parameters:
ostream- Output stream.- Throws:
IOException- If an error occurred.
-
encode
Description copied from interface:ASN1ValueWrite this value's DER encoding to an output stream using an implicit tag.- Specified by:
encodein interfaceASN1Value- Parameters:
implicit- Implicit tag.ostream- Output stream.- Throws:
IOException- If an error occurred.
-