jdk/src/java.base/share/classes/java/security/Key.java
changeset 45138 ddcafe0d0ea3
parent 26967 c182469301ee
child 45434 4582657c7260
equal deleted inserted replaced
45137:b6d407860c47 45138:ddcafe0d0ea3
     1 /*
     1 /*
     2  * Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1996, 2017, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     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
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     7  * published by the Free Software Foundation.  Oracle designates this
    80  * factory (see {@link KeyFactory}).
    80  * factory (see {@link KeyFactory}).
    81  *
    81  *
    82  * <p> A Key should use KeyRep as its serialized representation.
    82  * <p> A Key should use KeyRep as its serialized representation.
    83  * Note that a serialized Key may contain sensitive information
    83  * Note that a serialized Key may contain sensitive information
    84  * which should not be exposed in untrusted environments.  See the
    84  * which should not be exposed in untrusted environments.  See the
    85  * <a href="../../../platform/serialization/spec/security.html">
    85  * <a href="{@docRoot}/../specs/serialization/security.html">
    86  * Security Appendix</a>
    86  * Security Appendix</a>
    87  * of the Serialization Specification for more information.
    87  * of the Serialization Specification for more information.
    88  *
    88  *
    89  * @see PublicKey
    89  * @see PublicKey
    90  * @see PrivateKey
    90  * @see PrivateKey