Package org.apache.harmony.security.asn1
Class DerOutputStream
- java.lang.Object
-
- org.apache.harmony.security.asn1.BerOutputStream
-
- org.apache.harmony.security.asn1.DerOutputStream
-
public final class DerOutputStream extends BerOutputStream
Encodes ASN.1 types with DER (X.690)- See Also:
- ASN.1
-
-
Field Summary
-
Fields inherited from class org.apache.harmony.security.asn1.BerOutputStream
content, encoded, length, offset
-
-
Constructor Summary
Constructors Constructor Description DerOutputStream(ASN1Type asn1, Object object)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidencodeChoice(ASN1Choice choice)voidencodeExplicit(ASN1Explicit explicit)voidencodeSequence(ASN1Sequence sequence)voidencodeSequenceOf(ASN1SequenceOf sequenceOf)voidencodeSetOf(ASN1SetOf setOf)voidgetChoiceLength(ASN1Choice choice)voidgetExplicitLength(ASN1Explicit explicit)voidgetSequenceLength(ASN1Sequence sequence)voidgetSequenceOfLength(ASN1SequenceOf sequence)voidgetSetOfLength(ASN1SetOf setOf)-
Methods inherited from class org.apache.harmony.security.asn1.BerOutputStream
encodeANY, encodeBitString, encodeBoolean, encodeGeneralizedTime, encodeInteger, encodeOctetString, encodeOID, encodeSet, encodeString, encodeTag, encodeUTCTime, getSetLength
-
-
-
-
Method Detail
-
encodeChoice
public void encodeChoice(ASN1Choice choice)
- Overrides:
encodeChoicein classBerOutputStream
-
encodeExplicit
public void encodeExplicit(ASN1Explicit explicit)
- Overrides:
encodeExplicitin classBerOutputStream
-
encodeSequence
public void encodeSequence(ASN1Sequence sequence)
- Overrides:
encodeSequencein classBerOutputStream
-
encodeSequenceOf
public void encodeSequenceOf(ASN1SequenceOf sequenceOf)
- Overrides:
encodeSequenceOfin classBerOutputStream
-
encodeSetOf
public void encodeSetOf(ASN1SetOf setOf)
- Overrides:
encodeSetOfin classBerOutputStream
-
getChoiceLength
public void getChoiceLength(ASN1Choice choice)
- Overrides:
getChoiceLengthin classBerOutputStream
-
getExplicitLength
public void getExplicitLength(ASN1Explicit explicit)
- Overrides:
getExplicitLengthin classBerOutputStream
-
getSequenceLength
public void getSequenceLength(ASN1Sequence sequence)
- Overrides:
getSequenceLengthin classBerOutputStream
-
getSequenceOfLength
public void getSequenceOfLength(ASN1SequenceOf sequence)
- Overrides:
getSequenceOfLengthin classBerOutputStream
-
getSetOfLength
public void getSetOfLength(ASN1SetOf setOf)
- Overrides:
getSetOfLengthin classBerOutputStream
-
-