Class RecipientInfo
java.lang.Object
org.bouncycastle.asn1.ASN1Object
org.bouncycastle.oer.its.ieee1609dot2.RecipientInfo
- All Implemented Interfaces:
org.bouncycastle.asn1.ASN1Choice
,org.bouncycastle.asn1.ASN1Encodable
,org.bouncycastle.util.Encodable
public class RecipientInfo
extends org.bouncycastle.asn1.ASN1Object
implements org.bouncycastle.asn1.ASN1Choice
RecipientInfo ::= CHOICE { pskRecipInfo PreSharedKeyRecipientInfo, symmRecipInfo SymmRecipientInfo, certRecipInfo PKRecipientInfo, signedDataRecipInfo PKRecipientInfo, rekRecipInfo PKRecipientInfo }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic RecipientInfo
certRecipInfo
(PKRecipientInfo info) int
static RecipientInfo
getInstance
(Object object) org.bouncycastle.asn1.ASN1Encodable
static RecipientInfo
static RecipientInfo
rekRecipInfo
(PKRecipientInfo info) static RecipientInfo
static RecipientInfo
org.bouncycastle.asn1.ASN1Primitive
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
Field Details
-
pskRecipInfo
public static final int pskRecipInfo- See Also:
-
symmRecipInfo
public static final int symmRecipInfo- See Also:
-
certRecipInfo
public static final int certRecipInfo- See Also:
-
signedDataRecipInfo
public static final int signedDataRecipInfo- See Also:
-
rekRecipInfo
public static final int rekRecipInfo- See Also:
-
-
Constructor Details
-
RecipientInfo
public RecipientInfo(int choice, org.bouncycastle.asn1.ASN1Encodable value)
-
-
Method Details
-
getInstance
-
getChoice
public int getChoice() -
getRecipientInfo
public org.bouncycastle.asn1.ASN1Encodable getRecipientInfo() -
symmRecipInfo
-
certRecipInfo
-
signedDataRecipInfo
-
rekRecipInfo
-
toASN1Primitive
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive()- Specified by:
toASN1Primitive
in interfaceorg.bouncycastle.asn1.ASN1Encodable
- Specified by:
toASN1Primitive
in classorg.bouncycastle.asn1.ASN1Object
-