Name

Package jxta.security.publickey

Synopsis

This package defines the classes that support public and private key pairs, which are used to perform a variety of operations, including encryption and the creation or verification of digital signatures. The private key creates signatures; when the public key verifies the correctness of the digital signature, you know that the signed data has not been modified. The public key encrypts data with the knowledge that only the private key will be able to decrypt it.

Note that all classes except for the PublicKeyAlgorithm, RSAPublicKey, and RSAPrivateKey classes used to belong to the jxta.security.impl.publickey package. In some releases of JXTA, these classes may still be found there. The class hierarchy for this package is shown in Figure 10-7.

The jxta.security.publickey package

Figure 10-7. The jxta.security.publickey package

Interfaces

public interface PublicKey;
public interface PublicKeyAlgorithm extends jxta.security.util.Description;
public interface PublickeyData extends PublicKey;
public interface RSAPrivateKey extends jxta.security.util.Description, jxta.security.cipher.Key;
public interface RSAPublicKey extends jxta.security.cipher.Key;

Classes

public class RSAPrivatekeyData;
public class RSAPublickeyData implements PublickeyData;

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.