Class Asn1Flags

All Implemented Interfaces:
Asn1Type

public class Asn1Flags extends Asn1BitString
KrbFlags ::= BIT STRING (SIZE (32..MAX)) -- minimum number of bits shall be sent, -- but no fewer than 32
  • Constructor Details

    • Asn1Flags

      public Asn1Flags()
    • Asn1Flags

      public Asn1Flags(int value)
  • Method Details

    • setFlags

      public void setFlags(int flags)
    • setValue

      public void setValue(byte[] value)
      Overrides:
      setValue in class AbstractAsn1Type<byte[]>
    • getFlags

      public int getFlags()
    • isFlagSet

      public boolean isFlagSet(int flag)
    • setFlag

      public void setFlag(int flag)
    • clearFlag

      public void clearFlag(int flag)
    • clear

      public void clear()
    • isFlagSet

      public boolean isFlagSet(EnumType flag)
    • setFlag

      public void setFlag(EnumType flag)
    • setFlag

      public void setFlag(EnumType flag, boolean isSet)
    • clearFlag

      public void clearFlag(EnumType flag)
    • toValue

      protected void toValue() throws IOException
      Overrides:
      toValue in class Asn1BitString
      Throws:
      IOException