java.security.spec package contains classes that
define transparent representations for DSA, RSA, and EC public and
private keys and for X.509 and PKCS#8 encodings of those keys. It
also defines a transparent representation for DSA algorithm
parameters. The classes in this package are used in conjunction with
java.security.AlgorithmParameters for converting
AlgorithmParameters objects to and from
This package is not frequently used. To make use of it, you must be somewhat familiar with the mathematics that underlies DSA and RSA public-key encryption and the encoding standards that specify how keys are encoded as byte streams.
public interface AlgorithmParameterSpec; public interface ECField; public interface KeySpec;
public class DSAParameterSpec implements AlgorithmParameterSpec, java.security.interfaces.DSAParams; public class DSAPrivateKeySpec implements KeySpec; public class DSAPublicKeySpec implements KeySpec; public class ECFieldF2m implements ECField; public class ECFieldFp implements ECField; public class ECGenParameterSpec implements AlgorithmParameterSpec; public class ECParameterSpec implements AlgorithmParameterSpec; public class ECPoint; public class ECPrivateKeySpec implements KeySpec; public class ECPublicKeySpec implements KeySpec; public class EllipticCurve; public abstract class EncodedKeySpec implements KeySpec; public class PKCS8EncodedKeySpec ...
Get Java in a Nutshell, 5th Edition 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.