Bouncy Castle Cryptography Library 1.79

org.bouncycastle.bcpg.sig
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:
RFC4880 - Regular Expression, RFC9580 - Regular Expression

Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket
data
 
Constructor Summary
RegularExpression(boolean critical, boolean isLongLength, byte[] data)
           
RegularExpression(boolean critical, java.lang.String regex)
           
 
Method Summary
 byte[] getRawRegex()
           
 java.lang.String getRegex()
           
 
Methods inherited from class org.bouncycastle.bcpg.SignatureSubpacket
encode, equals, getData, getType, hashCode, isCritical, isLongLength
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RegularExpression

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

RegularExpression

public RegularExpression(boolean critical,
                         java.lang.String regex)
Method Detail

getRegex

public java.lang.String getRegex()

getRawRegex

public byte[] getRawRegex()

Bouncy Castle Cryptography Library 1.79