Enum Class SenderType

java.lang.Object
java.lang.Enum<SenderType>
org.bouncycastle.mls.codec.SenderType
All Implemented Interfaces:
Serializable, Comparable<SenderType>, Constable, MLSInputStream.Readable, MLSOutputStream.Writable

public enum SenderType extends Enum<SenderType> implements MLSInputStream.Readable, MLSOutputStream.Writable
  • Enum Constant Details

    • RESERVED

      public static final SenderType RESERVED
    • MEMBER

      public static final SenderType MEMBER
    • EXTERNAL

      public static final SenderType EXTERNAL
    • NEW_MEMBER_PROPOSAL

      public static final SenderType NEW_MEMBER_PROPOSAL
    • NEW_MEMBER_COMMIT

      public static final SenderType NEW_MEMBER_COMMIT
  • Method Details

    • values

      public static SenderType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SenderType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • writeTo

      public void writeTo(MLSOutputStream stream) throws IOException
      Specified by:
      writeTo in interface MLSOutputStream.Writable
      Throws:
      IOException