Class RecipientId

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

public abstract class RecipientId extends Object implements org.bouncycastle.util.Selector
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
  • Constructor Summary

    Constructors
    Modifier
    Constructor
    Description
    protected
    RecipientId(int type)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract Object
     
    int
    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 Details

  • Constructor Details

    • RecipientId

      protected RecipientId(int type)
  • Method Details

    • getType

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

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