Name
JxtaCrypto
Synopsis
This is the interface that obtains classes that define cryptographic operations. This class will provide classes that are defined for the particular platform that can perform cipher, hash, digital signature, MAC, and key exchange operations.
The JXTA bindings do not specify how
a JXTA crypto object is obtained. In the standard bindings, you
simply instantiate a
jxta.security.impl.JxtaCryptoSuite object. This
class provides a cipher object capable of performing RC4 encryption,
a hash object that can create SHA-1 and MD5 hashes, a digital
signature object that implements RSA/SHA-1 and RSA/MD5 signatures,
and a MAC object that creates MACs based on RSA encryption and either
SHA-1 or MD5 hashes. The JxtaCryptoSuite object
does not provide an object capable of key exchange.
public interface JxtaCrypto { // Public Constants public static final byte MEMBER_MD5; // =8 public static final byte MEMBER_RC4; // =1 public static final byte MEMBER_RSA; // =2 public static final byte MEMBER_SHA1; // =4 public static final String name; // ="JxtaCrypto” public static final int nCiphers; // =1 public static final int nDigests; // =2 public static final int nMacs; // =1 public static final byte PROFILE_RC4_MD5; // =9 public static final byte PROFILE_RC4_SHA1; // =5 public static final byte PROFILE_RSA_MD5; // =10 public static final byte PROFILE_RSA_RC4_MD5; // =11 public static final byte PROFILE_RSA_RC4_SHA1; // =7 public static final byte PROFILE_RSA_RC4_SHA1_MD5 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access