Top Description Fields Constructors Methods
org.bouncycastle.bcpg.sig

public Class PreferredKeyServer

extends SignatureSubpacket
Class Inheritance
Imports
org.bouncycastle.bcpg.SignatureSubpacket, .SignatureSubpacketTags, org.bouncycastle.util.Arrays, .Strings

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

Field Summary

Inherited from org.bouncycastle.bcpg.SignatureSubpacket:
data

Constructor Summary

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

public
PreferredKeyServer(boolean critical, String uri)

Method Summary

Modifier and TypeMethod and Description
public byte[]
public String

Returns:

key server uri
getURI
()

Return the URI of the users preferred key server.

Inherited from org.bouncycastle.bcpg.SignatureSubpacket:
encodeequalsgetDatagetTypehashCodeisCriticalisLongLength

Constructor Detail

PreferredKeyServerback to summary
public PreferredKeyServer(boolean critical, boolean isLongLength, byte[] data)
PreferredKeyServerback to summary
public PreferredKeyServer(boolean critical, String uri)

Method Detail

getRawURIback to summary
public byte[] getRawURI()
getURIback to summary
public String getURI()

Return the URI of the users preferred key server.

Returns:String

key server uri