src/share/classes/java/security/KeyPair.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 1996, 2003, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 48,58 ****
/**
* Constructs a key pair from the given public key and private key.
*
* <p>Note that this constructor only stores references to the public
* and private key components in the generated key pair. This is safe,
! * because <code>Key</code> objects are immutable.
*
* @param publicKey the public key.
*
* @param privateKey the private key.
*/
--- 48,58 ----
/**
* Constructs a key pair from the given public key and private key.
*
* <p>Note that this constructor only stores references to the public
* and private key components in the generated key pair. This is safe,
! * because {@code Key} objects are immutable.
*
* @param publicKey the public key.
*
* @param privateKey the private key.
*/