Package org.mozilla.jss.pkix.cmmf
Class IssuerAndSubject
java.lang.Object
org.mozilla.jss.pkix.cmmf.IssuerAndSubject
- All Implemented Interfaces:
ASN1Value
CMMF IssuerAndSubject.
IssuerAndSubject ::= SEQUENCE { issuer Name, subject Name, certReqId INTEGER OPTIONAL }
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A Template for decoding anIssuerAndSubject
. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
encode
(OutputStream ostream) Write this value's DER encoding to an output stream using its own base tag.void
encode
(Tag implicitTag, OutputStream ostream) Write this value's DER encoding to an output stream using an implicit tag.Returns thecertReqId
field, which may benull
.Returns theissuer
field.Returns thesubject
field.getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static IssuerAndSubject.Template
-
Field Details
-
issuer
-
subject
-
certReqId
-
sequence
-
TAG
-
templateInstance
-
-
Constructor Details
-
IssuerAndSubject
-
-
Method Details
-
getIssuer
Returns theissuer
field. -
getSubject
Returns thesubject
field. -
getCertReqId
Returns thecertReqId
field, which may benull
. -
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. -
encode
Description copied from interface:ASN1Value
Write this value's DER encoding to an output stream using its own base tag.- Specified by:
encode
in interfaceASN1Value
- Parameters:
ostream
- Output stream.- Throws:
IOException
- If an error occurred.
-
encode
Description copied from interface:ASN1Value
Write this value's DER encoding to an output stream using an implicit tag.- Specified by:
encode
in interfaceASN1Value
- Parameters:
implicitTag
- Implicit tag.ostream
- Output stream.- Throws:
IOException
- If an error occurred.
-
getTemplate
-