Package org.bouncycastle.bcpg.sig
Class PreferredKeyServer
java.lang.Object
org.bouncycastle.bcpg.SignatureSubpacket
org.bouncycastle.bcpg.sig.PreferredKeyServer
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:
-
Field Summary
Fields inherited from class org.bouncycastle.bcpg.SignatureSubpacket
data
-
Constructor Summary
ConstructorDescriptionPreferredKeyServer
(boolean critical, boolean isLongLength, byte[] data) PreferredKeyServer
(boolean critical, String uri) -
Method Summary
Methods inherited from class org.bouncycastle.bcpg.SignatureSubpacket
encode, equals, getData, getType, hashCode, isCritical, isLongLength
-
Constructor Details
-
PreferredKeyServer
public PreferredKeyServer(boolean critical, boolean isLongLength, byte[] data) -
PreferredKeyServer
-
-
Method Details
-
getURI
Return the URI of the users preferred key server.- Returns:
- key server uri
-
getRawURI
public byte[] getRawURI()
-