Bouncy Castle Cryptography Library 1.79

org.bouncycastle.bcpg.sig
Class PolicyURI

java.lang.Object
  |
  +--org.bouncycastle.bcpg.SignatureSubpacket
        |
        +--org.bouncycastle.bcpg.sig.PolicyURI

public class PolicyURI
extends SignatureSubpacket

Signature Subpacket for encoding a URI pointing to a document containing the policy under which the signature was created.

See Also:
RFC4880 - Policy URI, RFC9580 - Policy URI

Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket
data
 
Constructor Summary
PolicyURI(boolean critical, boolean isLongLength, byte[] data)
           
PolicyURI(boolean critical, java.lang.String uri)
           
 
Method Summary
 byte[] getRawURI()
           
 java.lang.String getURI()
           
 
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

PolicyURI

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

PolicyURI

public PolicyURI(boolean critical,
                 java.lang.String uri)
Method Detail

getURI

public java.lang.String getURI()

getRawURI

public byte[] getRawURI()

Bouncy Castle Cryptography Library 1.79