Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 921
نمايش فراداده

Package javax.crypto.interfaces

Java 1.4

The interfaces in the javax.crypto.interfaces package define the public methods that must be supported by various types of encryption keys. The "DH" interfaces respresent Diffie-Hellman public/private key pairs used in the Diffie-Hellman key-agreement protocol. The "PBE" iterface is for Password-Based Encryption. These interfaces are typically of interest only to programmers who are implementing a cryptographic provider or who want to implement cryptographic algorithms themselves. Use of this package requires basic familiarity with the encryption algorithms and the mathematics that underlie them. Note that the javax.crypto.spec package contains classes that provide algorithm-specific details about encryption keys.

Interfaces

public interface

DHKey ; public interface

DHPrivateKey extends DHKey, java.security.PrivateKey; public interface

DHPublicKey extends DHKey, java.security.PublicKey; public interface

PBEKey extends javax.crypto.SecretKey;