Bouncy Castle Cryptography 1.71

org.bouncycastle.bcpg.sig
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.


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 1.71