src/share/classes/javax/crypto/SealedObject.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 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,11 +48,11 @@
  * <p> Note that the Cipher object must be fully initialized with the
  * correct algorithm, key, padding scheme, etc., before being applied
  * to a SealedObject.
  *
  * <p> The original object that was sealed can be recovered in two different
- * ways: <p>
+ * ways:
  *
  * <ul>
  *
  * <li>by using the {@link #getObject(javax.crypto.Cipher) getObject}
  * method that takes a <code>Cipher</code> object.

@@ -66,12 +66,10 @@
  * sealed object does not require knowledge of the decryption key. For example,
  * after one party has initialized the cipher object with the required
  * decryption key, it could hand over the cipher object to
  * another party who then unseals the sealed object.
  *
- * <p>
- *
  * <li>by using one of the
  * {@link #getObject(java.security.Key) getObject} methods
  * that take a <code>Key</code> object.
  *
  * <p> In this approach, the <code>getObject</code> method creates a cipher