org.mozilla.jss.pkcs12
public class SecretBag extends Object implements ASN1Value
Nested Class Summary | |
---|---|
static class | SecretBag.Template
A Template class for decoding SecretBags from BER. |
Constructor Summary | |
---|---|
SecretBag(OBJECT_IDENTIFIER secretType, ASN1Value secret)
Creates a SecretBag with the given secret type and secret. |
Method Summary | |
---|---|
void | encode(OutputStream ostream) |
void | encode(Tag implicitTag, OutputStream ostream) |
ANY | getSecret()
Returns the secret stored in the SecretBag. |
OBJECT_IDENTIFIER | getSecretType()
Returns the type of secret stored in the SecretBag. |
Tag | getTag() |
static SecretBag.Template | getTemplate() |