Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.asn1.cms
Class RecipientIdentifier

    java.lang.Object
      |
      +--org.bouncycastle.asn1.cms.RecipientIdentifier

All Implemented Interfaces:
  DEREncodable

public class RecipientIdentifier
extends java.lang.Object
implements DEREncodable

Constructor Summary
`RecipientIdentifier(ASN1OctetString id)`
`RecipientIdentifier(DERObject id)`
`RecipientIdentifier(IssuerAndSerialNumber id)`

Method Summary
`DERObject` | `getDERObject()` RecipientIdentifier ::= CHOICE { issuerAndSerialNumber IssuerAndSerialNumber, subjectKeyIdentifier [0] SubjectKeyIdentifier } SubjectKeyIdentifier ::= OCTET STRING
`DEREncodable` | `getId()`
`static RecipientIdentifier` | `getInstance(java.lang.Object o)` return a RecipientIdentifier object from the given object.
`boolean` | `isTagged()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### RecipientIdentifier

    public RecipientIdentifier(IssuerAndSerialNumber id)

### RecipientIdentifier

    public RecipientIdentifier(ASN1OctetString id)

### RecipientIdentifier

    public RecipientIdentifier(DERObject id)

Method Detail

### getInstance

    public static RecipientIdentifier getInstance(java.lang.Object o)

  return a RecipientIdentifier object from the given object.

  Throws:
    `java.lang.IllegalArgumentException` - if the object cannot be converted.

### isTagged

    public boolean isTagged()

### getId

    public DEREncodable getId()

### getDERObject

    public DERObject getDERObject()

       RecipientIdentifier ::= CHOICE {
       	issuerAndSerialNumber IssuerAndSerialNumber,
       	subjectKeyIdentifier [0] SubjectKeyIdentifier
       }

       SubjectKeyIdentifier ::= OCTET STRING

  Specified by:
    `getDERObject` in interface `DEREncodable`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography 1.22
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD