Bouncy Castle Cryptography Library 1.79

org.bouncycastle.cms
Class RecipientId

java.lang.Object
  |
  +--org.bouncycastle.cms.RecipientId
All Implemented Interfaces:
java.lang.Cloneable, org.bouncycastle.util.Selector
Direct Known Subclasses:
KEKRecipientId, PasswordRecipientId, PKIXRecipientId

public abstract class RecipientId
extends java.lang.Object
implements org.bouncycastle.util.Selector


Field Summary
static int kek
           
static int kem
           
static int keyAgree
           
static int keyTrans
           
static int password
           
 
Constructor Summary
protected RecipientId(int type)
           
 
Method Summary
abstract  java.lang.Object clone()
           
 int getType()
          Return the type code for this recipient ID.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.bouncycastle.util.Selector
match
 

Field Detail

keyTrans

public static final int keyTrans

kek

public static final int kek

keyAgree

public static final int keyAgree

password

public static final int password

kem

public static final int kem
Constructor Detail

RecipientId

protected RecipientId(int type)
Method Detail

getType

public int getType()
Return the type code for this recipient ID.
Returns:
one of keyTrans, kek, keyAgree, password

clone

public abstract java.lang.Object clone()
Specified by:
clone in interface org.bouncycastle.util.Selector
Overrides:
clone in class java.lang.Object

Bouncy Castle Cryptography Library 1.79