Class RegularExpression

java.lang.Object
org.bouncycastle.bcpg.SignatureSubpacket
org.bouncycastle.bcpg.sig.RegularExpression

public class RegularExpression extends SignatureSubpacket
Signature Subpacket containing a regular expression limiting the scope of the signature. Note: the RFC says the byte encoding is to be null terminated.
See Also:
  • Constructor Details

    • RegularExpression

      public RegularExpression(boolean critical, boolean isLongLength, byte[] data)
    • RegularExpression

      public RegularExpression(boolean critical, String regex)
  • Method Details

    • getRegex

      public String getRegex()
    • getRawRegex

      public byte[] getRawRegex()