|
1 /* |
|
2 * Copyright (c) 1999, 2007, 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 #3: Diffie-Hellman Key-Agreement Standard, Version 1.4, |
|
46 * November 1993.</li> |
|
47 * <li>PKCS #5: Password-Based Encryption Standard, Version 1.5, |
|
48 * November 1993.</li> |
|
49 * <li>Federal Information Processing Standards Publication (FIPS PUB) 46-2: |
|
50 * Data Encryption Standard (DES) </li> |
|
51 * </ul> |
|
52 * |
|
53 * <h2>Related Documentation</h2> |
|
54 * |
|
55 * For documentation that includes information about algorithm |
|
56 * parameter and key specifications, please see: |
|
57 * |
|
58 * <ul> |
|
59 * <li> |
|
60 * <a href= |
|
61 * "{@docRoot}/../technotes/guides/security/crypto/CryptoSpec.html"> |
|
62 * <b>Java™ Cryptography Architecture API Specification and Reference |
|
63 * </b></a></li> |
|
64 * <li> |
|
65 * <a href= |
|
66 * "{@docRoot}/../technotes/guides/security/crypto/HowToImplAProvider.html"> |
|
67 * <b>How to Implement a Provider for the |
|
68 * Java™ Cryptography Architecture |
|
69 * </b></a></li> |
|
70 * </ul> |
|
71 * |
|
72 * @since 1.4 |
|
73 */ |
|
74 package javax.crypto.spec; |