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
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 |
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
RecipientId
protected RecipientId(int type)
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