Modifier and Type | Class and Description |
---|---|
static class |
Encoding.Template
An ASN.1 class for decoding the SecretDecoderRing result.
|
Constructor and Description |
---|
Encoding(byte[] keyID,
byte[] iv,
OBJECT_IDENTIFIER encOID,
byte[] ctext) |
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.
|
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()
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 Encoding.Template getTemplate()