src/share/classes/java/security/spec/EncodedKeySpec.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1997, 2005, 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

@@ -47,11 +47,11 @@
     /**
      * Creates a new EncodedKeySpec with the given encoded key.
      *
      * @param encodedKey the encoded key. The contents of the
      * array are copied to protect against subsequent modification.
-     * @exception NullPointerException if <code>encodedKey</code>
+     * @exception NullPointerException if {@code encodedKey}
      * is null.
      */
     public EncodedKeySpec(byte[] encodedKey) {
         this.encodedKey = encodedKey.clone();
     }

@@ -72,13 +72,13 @@
      *
      * <p>If the opaque representation of a key
      * (see {@link java.security.Key Key}) can be transformed
      * (see {@link java.security.KeyFactory KeyFactory})
      * into this key specification (or a subclass of it),
-     * <code>getFormat</code> called
+     * {@code getFormat} called
      * on the opaque key returns the same value as the
-     * <code>getFormat</code> method
+     * {@code getFormat} method
      * of this key specification.
      *
      * @return a string representation of the encoding format.
      */
     public abstract String getFormat();