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
- See Also:
- Constant Field Values
kek
public static final int kek
- See Also:
- Constant Field Values
keyAgree
public static final int keyAgree
- See Also:
- Constant Field Values
password
public static final int password
- See Also:
- Constant Field Values
kem
public static final int kem
- See Also:
- Constant Field Values
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