org.mozilla.jss.pkix.crmf
public class EncryptedKey extends Object implements ASN1Value
| Nested Class Summary | |
|---|---|
| static class | EncryptedKey.Template
A Template for decoding BER-encoded EncryptedKeys. |
| static class | EncryptedKey.Type
The type of EncryptedKey. |
| Field Summary | |
|---|---|
| static EncryptedKey.Type | ENCRYPTED_VALUE |
| static EncryptedKey.Type | ENVELOPED_DATA |
| Constructor Summary | |
|---|---|
| EncryptedKey(EncryptedValue encryptedValue) | |
| EncryptedKey(ANY envelopedData) | |
| Method Summary | |
|---|---|
| void | encode(OutputStream ostream) |
| void | encode(Tag implicitTag, OutputStream ostream) |
| EncryptedValue | getEncryptedValue()
Should only be called if getType returns
ENCRYPTED_VALUE. |
| ANY | getEnvelopedData()
Should only be called if getType returns
ENVELOPED_DATA. |
| Tag | getTag() |
| static EncryptedKey.Template | getTemplate() |
| EncryptedKey.Type | getType() |
getType returns
ENCRYPTED_VALUE.getType returns
ENVELOPED_DATA. ANY is returned to prevent a circular
dependency between the org.mozilla.jss.pkcs7 package and the
org.mozilla.jss.pkix hierarchy.