public class PBEParameter extends java.lang.Object implements ASN1Value
Modifier and Type | Class and Description |
---|---|
static class |
PBEParameter.Template
A template class for decoding a PBEParameter.
|
Constructor and Description |
---|
PBEParameter(byte[] salt,
int iterations)
Creates a PBEParameter from a salt and iteration count.
|
PBEParameter(OCTET_STRING salt,
INTEGER iterations)
Creates a PBEParameter from a salt and iteration count.
|
Modifier and Type | Method and Description |
---|---|
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.
|
int |
getIterations() |
byte[] |
getSalt() |
Tag |
getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
static PBEParameter.Template |
getTemplate() |
public PBEParameter(byte[] salt, int iterations)
public PBEParameter(OCTET_STRING salt, INTEGER iterations)
public byte[] getSalt()
public int getIterations()
public Tag getTag()
ASN1Value
public void encode(java.io.OutputStream ostream) throws java.io.IOException
ASN1Value
public void encode(Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
ASN1Value
public static PBEParameter.Template getTemplate()