Modifier and Type | Class and Description |
---|---|
static class |
RecipientInfo.Template
A template file for decoding a RecipientInfo blob
|
Constructor and Description |
---|
RecipientInfo(INTEGER version,
IssuerAndSerialNumber issuerAndSerialNumber,
AlgorithmIdentifier keyEncryptionAlgorithmID,
OCTET_STRING encryptedKey)
Create a RecipientInfo ASN1 object.
|
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 tag,
java.io.OutputStream ostream)
Write this value's DER encoding to an output stream using
an implicit tag.
|
OCTET_STRING |
getEncryptedKey() |
IssuerAndSerialNumber |
getissuerAndSerialNumber() |
AlgorithmIdentifier |
getKeyEncryptionAlgorithmID() |
Tag |
getTag()
Returns the base tag for this type, not counting any tags
that may be imposed on it by its context.
|
static RecipientInfo.Template |
getTemplate() |
INTEGER |
getVersion() |
public static final Tag TAG
public RecipientInfo(INTEGER version, IssuerAndSerialNumber issuerAndSerialNumber, AlgorithmIdentifier keyEncryptionAlgorithmID, OCTET_STRING encryptedKey)
public Tag getTag()
ASN1Value
public INTEGER getVersion()
public IssuerAndSerialNumber getissuerAndSerialNumber()
public AlgorithmIdentifier getKeyEncryptionAlgorithmID()
public OCTET_STRING getEncryptedKey()
public static RecipientInfo.Template getTemplate()
public void encode(java.io.OutputStream ostream) throws java.io.IOException
ASN1Value