Package org.mozilla.jss.pkix.primitive
Class PBES2Params
java.lang.Object
org.mozilla.jss.pkix.primitive.PBES2Params
- All Implemented Interfaces:
ASN1Value
PKCS #5 PBES2Parameter
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A template class for decoding a PBES2Params. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate AlgorithmIdentifier
private AlgorithmIdentifier
private SEQUENCE
private static final Tag
private static final PBES2Params.Template
-
Constructor Summary
ConstructorsConstructorDescriptionPBES2Params
(AlgorithmIdentifier keyDerivationFunc, AlgorithmIdentifier encryptionScheme) -
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.getTag()
Returns the base tag for this type, not counting any tags that may be imposed on it by its context.static PBES2Params.Template
-
Field Details
-
keyDerivationFunc
-
encryptionScheme
-
sequence
-
TAG
-
templateInstance
-
-
Constructor Details
-
PBES2Params
-
-
Method Details
-
getKeyDerivationFunc
-
getEncryptionScheme
-
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
-