Bouncy Castle Cryptography Library 1.79

org.bouncycastle.bcpg.sig
Class PreferredKeyServer

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

public class PreferredKeyServer
extends SignatureSubpacket

Signature Subpacket containing the URI of the users preferred key server. This is a URI of a key server that the key holder prefers be used for updates. Note that keys with multiple User IDs can have a preferred key server for each User ID. Note also that since this is a URI, the key server can actually be a copy of the key retrieved by ftp, http, finger, etc.

See Also:
RFC4880 - Preferred Key Server, RFC9580 - Preferred Key Server

Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket
data
 
Constructor Summary
PreferredKeyServer(boolean critical, boolean isLongLength, byte[] data)
           
PreferredKeyServer(boolean critical, java.lang.String uri)
           
 
Method Summary
 byte[] getRawURI()
           
 java.lang.String getURI()
          Return the URI of the users preferred key server.
 
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

PreferredKeyServer

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

PreferredKeyServer

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

getURI

public java.lang.String getURI()
Return the URI of the users preferred key server.
Returns:
key server uri

getRawURI

public byte[] getRawURI()

Bouncy Castle Cryptography Library 1.79