Class IssuerAndSubject
java.lang.Object
org.mozilla.jss.pkix.cmmf.IssuerAndSubject
- All Implemented Interfaces:
ASN1Value
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA Template for decoding anIssuerAndSubject. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate INTEGERprivate ANY////////////////////////////////////////////////////////////////////private SEQUENCEprivate ANYprivate static final Tag////////////////////////////////////////////////////////////////////private static final IssuerAndSubject.Template -
Constructor Summary
ConstructorsConstructorDescriptionIssuerAndSubject(ANY issuer, ANY subject, INTEGER certReqId) //////////////////////////////////////////////////////////////////// -
Method Summary
Modifier and TypeMethodDescriptionvoidencode(OutputStream ostream) Write this value's DER encoding to an output stream using its own base tag.voidencode(Tag implicitTag, OutputStream ostream) Write this value's DER encoding to an output stream using an implicit tag.Returns thecertReqIdfield, which may benull.Returns theissuerfield.Returns thesubjectfield.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 theissuerfield. -
getSubject
Returns thesubjectfield. -
getCertReqId
Returns thecertReqIdfield, which may benull. -
getTag
-
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:
implicitTag- Implicit tag.ostream- Output stream.- Throws:
IOException- If an error occurred.
-
getTemplate
-