| Modifier and Type | Class | Description |
|---|---|---|
static class |
Encoding.Template |
An ASN.1 class for decoding the SecretDecoderRing result.
|
| Constructor | Description |
|---|---|
Encoding(byte[] keyID,
byte[] iv,
OBJECT_IDENTIFIER encOID,
byte[] ctext) |
| Modifier and Type | Method | 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.
|
byte[] |
getCiphertext() |
|
OBJECT_IDENTIFIER |
getEncryptionOID() |
|
byte[] |
getIv() |
|
byte[] |
getKeyID() |
|
Tag |
getTag() |
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
static Encoding.Template |
getTemplate() |
public static final Tag TAG
public Encoding(byte[] keyID,
byte[] iv,
OBJECT_IDENTIFIER encOID,
byte[] ctext)
public byte[] getKeyID()
public byte[] getIv()
public OBJECT_IDENTIFIER getEncryptionOID()
public byte[] getCiphertext()
public Tag getTag()
ASN1Valuepublic void encode(java.io.OutputStream ostream)
throws java.io.IOException
ASN1Valuepublic void encode(Tag implicitTag, java.io.OutputStream ostream) throws java.io.IOException
ASN1Valuepublic static Encoding.Template getTemplate()