Name

PublickeyData

Synopsis

Objects that implement this interface store the data necessary for initializing a public key (using the PublicKeyAlgorithm class). The PublickeyData object is obtained from the getPublickey( ) method of the PublicKeyAlgorithm class for existing public keys.

The JXTA bindings do not define a mechanism that can pass this data to another peer (so that they can, for example, create a public key based on your key). In practice, the data could be transmitted in serialized form.

Note that this package does not define a corresponding PrivatekeyData interface; in the standard bindings, you use the RSAPrivatekeyData class.

public interface PublickeyData extends jxta.security.publickey.PublicKey {
// Public Instance Methods
   public abstract String getType();  
}

Implementations

RSAPublickeyData

Get JXTA in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.