1 /* 2 * Copyright (c) 1999, 2017, Oracle and/or its affiliates. All rights reserved. 3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 4 * 5 * This code is free software; you can redistribute it and/or modify it 6 * under the terms of the GNU General Public License version 2 only, as 7 * published by the Free Software Foundation. Oracle designates this 8 * particular file as subject to the "Classpath" exception as provided 9 * by Oracle in the LICENSE file that accompanied this code. 10 * 11 * This code is distributed in the hope that it will be useful, but WITHOUT 12 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 13 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 14 * version 2 for more details (a copy is included in the LICENSE file that 15 * accompanied this code). 16 * 17 * You should have received a copy of the GNU General Public License version 18 * 2 along with this work; if not, write to the Free Software Foundation, 19 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 20 * 21 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 22 * or visit www.oracle.com if you need additional information or have any 23 * questions. 24 */ 25 26 /** 27 * Provides classes and interfaces for key specifications and 28 * algorithm parameter specifications. 29 * 30 * <p>A key specification is a transparent representation of the key 31 * material that constitutes a key. A key may be specified in an 32 * algorithm-specific way, or in an algorithm-independent encoding 33 * format (such as ASN.1). This package contains key specifications 34 * for Diffie-Hellman public and private keys, as well as key 35 * specifications for DES, Triple DES, and PBE secret keys. 36 * 37 * <p>An algorithm parameter specification is a transparent 38 * representation of the sets of parameters used with an 39 * algorithm. This package contains algorithm parameter specifications 40 * for parameters used with the Diffie-Hellman, DES, Triple DES, PBE, 41 * RC2 and RC5 algorithms. 42 * 43 * 44 * <ul> 45 * <li>PKCS #1: RSA Cryptography Specifications, Version 2.2 (RFC 8017)</li> 46 * <li>PKCS #3: Diffie-Hellman Key-Agreement Standard, Version 1.4, 47 * November 1993.</li> 48 * <li>PKCS #5: Password-Based Encryption Standard, Version 1.5, 49 * November 1993.</li> 50 * <li>Federal Information Processing Standards Publication (FIPS PUB) 46-2: 51 * Data Encryption Standard (DES) </li> 52 * </ul> 53 * 54 * <h2>Related Documentation</h2> 55 * 56 * For documentation that includes information about algorithm 57 * parameter and key specifications, please see: 58 * 59 * <ul> 60 * <li> 61 * {@extLink security_guide_jca 62 * Java Cryptography Architecture (JCA) Reference Guide} </li> 63 * <li> 64 * {@extLink security_guide_impl_provider 65 * How to Implement a Provider in the Java Cryptography Architecture}</li> 66 * </ul> 67 * 68 * @since 1.4 69 */ 70 package javax.crypto.spec;