1 /*
2  * Copyright (c) 1998, 2013, 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 algorithm
28  * parameter specifications.
29  *
30  * <p>A key specification is a transparent representation of the key material
31  * that constitutes a key. A key may be specified in an algorithm-specific
32  * way, or in an algorithm-independent encoding format (such as ASN.1).
33  * This package contains key specifications for DSA public and private keys,
34  * RSA public and private keys, PKCS #8 private keys in DER-encoded format,
35  * and X.509 public and private keys in DER-encoded format.
36  *
37  * <p>An algorithm parameter specification is a transparent representation
38  * of the sets of parameters used with an algorithm. This package contains
39  * an algorithm parameter specification for parameters used with the
40  * DSA algorithm.
41  *
42  * <h2>Package Specification</h2>
43  *
44  * <ul>
45  *   <li>PKCS #1: RSA Encryption Standard, Version 1.5, November 1993</li>
46  *   <li>PKCS #8: Private-Key Information Syntax Standard,
47  *     Version 1.2, November 1993</li>
48  *   <li>Federal Information Processing Standards Publication (FIPS PUB) 186:
49  *     Digital Signature Standard (DSS)</li>
50  * </ul>
51  *
52  * <h2>Related Documentation</h2>
53  *
54  * For documentation that includes information about algorithm parameter
55  * and key specifications, please see:
56  * <ul>
57  *   <li>
58  *     <a href=
59  *       "{@docRoot}/../technotes/guides/security/crypto/CryptoSpec.html">
60  *       <b>Java&trade;
61  *       Cryptography Architecture API Specification and Reference
62  *       </b></a></li>
63  *   <li>
64  *     <a href=
65  *       "{@docRoot}/../technotes/guides/security/crypto/HowToImplAProvider.html">
66  *       <b>How to Implement a Provider for the
67  *       Java&trade; Cryptography Architecture
68  *       </b></a></li>
69  * </ul>
70  *
71  * @since 1.2
72  */
73 package java.security.spec;
74