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
Method Summary |
byte[] |
getRawURI()
|
java.lang.String |
getURI()
Return the URI of the users preferred key server. |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
PreferredKeyServer
public PreferredKeyServer(boolean critical,
boolean isLongLength,
byte[] data)
PreferredKeyServer
public PreferredKeyServer(boolean critical,
java.lang.String uri)
getURI
public java.lang.String getURI()
- Return the URI of the users preferred key server.
- Returns:
- key server uri
getRawURI
public byte[] getRawURI()