Class ReasonFlags

java.lang.Object
org.mozilla.jss.netscape.security.x509.ReasonFlags

public class ReasonFlags extends Object
Represent the CRL Reason Flags.

This extension, if present, defines the identifies the reason for the certificate revocation.

See Also:
  • Field Details

  • Constructor Details

    • ReasonFlags

      public ReasonFlags(byte[] reasons)
      Create a ReasonFlags with the passed bit settings.
      Parameters:
      reasons - the bits to be set for the ReasonFlags.
    • ReasonFlags

      public ReasonFlags(boolean[] reasons)
      Create a ReasonFlags with the passed bit settings.
      Parameters:
      reasons - the bits to be set for the ReasonFlags.
    • ReasonFlags

      public ReasonFlags(BitArray reasons)
      Create a ReasonFlags with the passed bit settings.
      Parameters:
      reasons - the bits to be set for the ReasonFlags.
    • ReasonFlags

      public ReasonFlags(DerInputStream in) throws IOException
      Create the object from the passed DER encoded value.
      Parameters:
      in - the DerInputStream to read the ReasonFlags from.
      Throws:
      IOException - on decoding errors.
    • ReasonFlags

      public ReasonFlags(DerValue derVal) throws IOException
      Create the object from the passed DER encoded value.
      Parameters:
      derVal - the DerValue decoded from the stream.
      Throws:
      IOException - on decoding errors.
  • Method Details