Class RegularExpression

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

public class RegularExpression extends SignatureSubpacket
Regexp Packet - RFC 4880 5.2.3.14. Note: the RFC says the byte encoding is to be null terminated.
  • 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()