Package org.mozilla.jss.asn1
Class SEQUENCE
java.lang.Object
org.mozilla.jss.asn1.SET
org.mozilla.jss.asn1.SEQUENCE
- All Implemented Interfaces:
ASN1Value
An ASN.1 SEQUENCE. This class is an ordered collection of ASN.1 values.
It has an interface similar to a Java
Vector
.
Null entries may be added; they will be skipped when encoded.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A Template for decoding SEQUENCE OF values.static class
A class for constructing aSEQUENCE
from its BER encoding.Nested classes/interfaces inherited from class org.mozilla.jss.asn1.SET
SET.Element
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(Tag implicitTag, OutputStream ostream) Writes the DER encoding to the given output stream, using the given implicit tag.getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static SEQUENCE.Template
static void
Methods inherited from class org.mozilla.jss.asn1.SET
addElement, addElement, BERencode, elementAt, elementWithTag, encode, insertElementAt, insertElementAt, removeAllElements, removeElementAt, size, tagAt
-
Field Details
-
TAG
-
-
Constructor Details
-
SEQUENCE
public SEQUENCE()
-
-
Method Details
-
getTag
Description copied from interface:ASN1Value
Returns the base tag for this type, not counting any tags that may be imposed on it by its context. -
getTemplate
-
encode
Writes the DER encoding to the given output stream, using the given implicit tag.- Specified by:
encode
in interfaceASN1Value
- Overrides:
encode
in classSET
- Parameters:
implicitTag
- Implicit tag.ostream
- Output stream.- Throws:
IOException
- If an error occurred.
-
main
-