Class 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
    • 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()