The javax.crypto.spec package contains classes that define transparent java.security.spec.KeySpec and java.security.spec.AlgorithmParameterSpec representations of secret keys, Diffie-Hellman public and private keys, and parameters used by various cryptographic algorithms. The classes in this package are used in conjunction with java.security.KeyFactory , javax.crypto.SecretKeyFactory and java.security.AlgorithmParameters for converting opaque Key , and AlgorithmParameters objects to and from transparent representations. In order to make good use of this package, you must be familiar with the specifications of the various cryptographic algorithms it supports and the basic mathematics that underlie those algorithms. Classespublic class DESedeKeySpec implements java.security.spec.KeySpec; public class DESKeySpec implements java.security.spec.KeySpec; public class DHGenParameterSpec implements java.security.spec.AlgorithmParameterSpec; public class DHParameterSpec implements java.security.spec.AlgorithmParameterSpec; public class DHPrivateKeySpec implements java.security.spec.KeySpec; public class DHPublicKeySpec implements java.security.spec.KeySpec; public class IvParameterSpec implements java.security.spec.AlgorithmParameterSpec; public class OAEPParameterSpec implements java.security.spec.AlgorithmParameterSpec; public class PBEKeySpec implements java.security.spec.KeySpec; public class PBEParameterSpec implements java.security.spec.AlgorithmParameterSpec; public class PSource ; public static final class PSource.PSpecified extends PSource; public class RC2ParameterSpec implements java.security.spec.AlgorithmParameterSpec; public class RC5ParameterSpec implements java.security.spec.AlgorithmParameterSpec; public class SecretKeySpec implements java.security.spec.KeySpec, javax.crypto.SecretKey; |