Package org.mozilla.jss.pkix.cmc
Class EncryptedPOP
java.lang.Object
org.mozilla.jss.pkix.cmc.EncryptedPOP
- All Implemented Interfaces:
ASN1Value
CMC EncryptedPOP:
EncryptedPOP ::= SEQUENCE {
request TaggedRequest,
cms ContentInfo,
thePOPAlgID AlgorithmIdentifier,
witnessAlgID AlgorithmIdentifier,
witness OCTET STRING
}
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classA Template for decoding BER-encoded EncryptedPOP items. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate ContentInfoprivate TaggedRequestprivate SEQUENCEprivate static final Tagprivate static final EncryptedPOP.Templateprivate AlgorithmIdentifierprivate OCTET_STRINGprivate AlgorithmIdentifier -
Constructor Summary
ConstructorsConstructorDescriptionEncryptedPOP(TaggedRequest request, ContentInfo cms, AlgorithmIdentifier thePOPAlgID, AlgorithmIdentifier witnessAlgID, OCTET_STRING witness) -
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.getTag()Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static EncryptedPOP.Template
-
Field Details
-
request
-
cms
-
thePOPAlgID
-
witnessAlgID
-
witness
-
sequence
-
TAG
-
templateInstance
-
-
Constructor Details
-
EncryptedPOP
public EncryptedPOP(TaggedRequest request, ContentInfo cms, AlgorithmIdentifier thePOPAlgID, AlgorithmIdentifier witnessAlgID, OCTET_STRING witness)
-
-
Method Details
-
getRequest
-
getContentInfo
-
getThePOPAlgID
-
getWitnessAlgID
-
getWitness
-
getTag
Description copied from interface:ASN1ValueReturns the base tag for this type, not counting any tags that may be imposed on it by its context. -
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
-