Path: blob/master/src/java.base/share/classes/javax/crypto/spec/package-info.java
41159 views
/*1* Copyright (c) 1999, 2018, Oracle and/or its affiliates. All rights reserved.2* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.3*4* This code is free software; you can redistribute it and/or modify it5* under the terms of the GNU General Public License version 2 only, as6* published by the Free Software Foundation. Oracle designates this7* particular file as subject to the "Classpath" exception as provided8* by Oracle in the LICENSE file that accompanied this code.9*10* This code is distributed in the hope that it will be useful, but WITHOUT11* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or12* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License13* version 2 for more details (a copy is included in the LICENSE file that14* accompanied this code).15*16* You should have received a copy of the GNU General Public License version17* 2 along with this work; if not, write to the Free Software Foundation,18* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.19*20* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA21* or visit www.oracle.com if you need additional information or have any22* questions.23*/2425/**26* Provides classes and interfaces for key specifications and27* algorithm parameter specifications.28*29* <p>A key specification is a transparent representation of the key30* material that constitutes a key. A key may be specified in an31* algorithm-specific way, or in an algorithm-independent encoding32* format (such as ASN.1). This package contains key specifications33* for Diffie-Hellman public and private keys, as well as key34* specifications for DES, Triple DES, and PBE secret keys.35*36* <p>An algorithm parameter specification is a transparent37* representation of the sets of parameters used with an38* algorithm. This package contains algorithm parameter specifications39* for parameters used with the Diffie-Hellman, DES, Triple DES, PBE,40* RC2 and RC5 algorithms.41*42*43* <ul>44* <li>PKCS #1: RSA Cryptography Specifications, Version 2.2 (RFC 8017)</li>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 algorithm56* parameter and key specifications, please see:57*58* <ul>59* <li>60* {@extLink security_guide_jca61* Java Cryptography Architecture (JCA) Reference Guide} </li>62* <li>63* {@extLink security_guide_impl_provider64* How to Implement a Provider in the Java Cryptography Architecture}</li>65* </ul>66*67* @since 1.468*/69package javax.crypto.spec;707172