public class OtherRecipientInfo extends ASN1Encodable
BER, DER
Constructor and Description |
---|
OtherRecipientInfo(ASN1Sequence seq) |
OtherRecipientInfo(DERObjectIdentifier oriType,
DEREncodable oriValue) |
Modifier and Type | Method and Description |
---|---|
static OtherRecipientInfo |
getInstance(ASN1TaggedObject obj,
boolean explicit)
return a OtherRecipientInfo object from a tagged object.
|
static OtherRecipientInfo |
getInstance(Object obj)
return a OtherRecipientInfo object from the given object.
|
DERObjectIdentifier |
getType() |
DEREncodable |
getValue() |
DERObject |
toASN1Object()
Produce an object suitable for an ASN1OutputStream.
|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
public OtherRecipientInfo(DERObjectIdentifier oriType, DEREncodable oriValue)
public OtherRecipientInfo(ASN1Sequence seq)
public static OtherRecipientInfo getInstance(ASN1TaggedObject obj, boolean explicit)
obj
- the tagged object holding the object we want.explicit
- true if the object is meant to be explicitly
tagged false otherwise.IllegalArgumentException
- if the object held by the
tagged object cannot be converted.public static OtherRecipientInfo getInstance(Object obj)
obj
- the object we want converted.IllegalArgumentException
- if the object cannot be converted.public DERObjectIdentifier getType()
public DEREncodable getValue()
public DERObject toASN1Object()
OtherRecipientInfo ::= SEQUENCE { oriType OBJECT IDENTIFIER, oriValue ANY DEFINED BY oriType }
toASN1Object
in class ASN1Encodable
Copyright © 2015. All rights reserved.