Overview | Package | Class | Tree | Deprecated | Index | Help
| JSS 3.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mozilla.jss.asn1
Interface ASN1Value

All Known Implementing Classes:
  ANY, BIT_STRING, BMPString, BOOLEAN, CharacterString, CHOICE, ENUMERATED, EXPLICIT, GeneralizedTime, IA5String, INTEGER, NULL, OBJECT_IDENTIFIER, OCTET_STRING, PrintableString, SEQUENCE, SET, TeletexString, TimeBase, UniversalString, UTCTime, UTF8String, IssuerAndSerialNumber, DigestInfo, SignerInfo, EncryptedContentInfo, DigestedData, EnvelopedData, SignedAndEnvelopedData, RecipientInfo, EncryptedData, Attribute, ContentInfo, SignedData, CertificationRequest, CertificationRequestInfo, SafeBag, MacData, SecretBag, CertBag, AuthenticatedSafes, PFX, PrivateKeyInfo, PBEParameter, Attribute, DirectoryString, EncryptedPrivateKeyInfo, Name, RDN, SubjectPublicKeyInfo, AlgorithmIdentifier, AVA, CertificateInfo, Extension, Certificate, TaggedCertificationRequest, TaggedRequest, PKIData, TaggedAttribute, ResponseBody, OtherInfo, PendInfo, CMCStatusInfo, IssuerAndSubject, RevRepContent, PKIStatusInfo, CertifiedKeyPair, RevRequest, CertOrEncCert, CertRepContent, GetCRL, CertResponse, EncryptedData, RecipientInfo, SignedAndEnvelopedData, DigestedData, EncapsulatedContentInfo, EnvelopedData, SignerIdentifier, SignedData, EncryptedContentInfo, ContentInfo, DigestInfo, SignerInfo, IssuerAndSerialNumber, CertTemplate, ProofOfPossession, PKIArchiveOptions, EncryptedValue, CertRequest, Control, CertReqMsg, CertId, EncryptedKey, POPOPrivKey, PKIPublicationInfo, POPOSigningKey

public abstract interface ASN1Value

A value that can be decoded from BER and encoded to DER.

See Also:
  `ASN1Template`

Method Summary
`void` | `encode(java.io.OutputStream ostream)` Write this value's DER encoding to an output stream using its own base tag.
`void` | `encode(Tag implicitTag, java.io.OutputStream ostream)` Write this value's DER encoding to an output stream using an implicit tag.
`Tag` | `getTag()` Returns the base tag for this type, not counting any tags that may be imposed on it by its context.

Method Detail

### getTag

    public Tag getTag()

  Returns the base tag for this type, not counting any tags that may be imposed on it by its context.

### encode

    public void encode(java.io.OutputStream ostream)
                throws java.io.IOException

  Write this value's DER encoding to an output stream using its own base tag.

### encode

    public void encode(Tag implicitTag,
                       java.io.OutputStream ostream)
                throws java.io.IOException

  Write this value's DER encoding to an output stream using an implicit tag.

Overview | Package | Class | Tree | Deprecated | Index | Help
| JSS 3.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD