src/share/classes/java/security/spec/X509EncodedKeySpec.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

@@ -25,12 +25,12 @@
 
 package java.security.spec;
 
 /**
  * This class represents the ASN.1 encoding of a public key,
- * encoded according to the ASN.1 type <code>SubjectPublicKeyInfo</code>.
- * The <code>SubjectPublicKeyInfo</code> syntax is defined in the X.509
+ * encoded according to the ASN.1 type {@code SubjectPublicKeyInfo}.
+ * The {@code SubjectPublicKeyInfo} syntax is defined in the X.509
  * standard as follows:
  *
  * <pre>
  * SubjectPublicKeyInfo ::= SEQUENCE {
  *   algorithm AlgorithmIdentifier,

@@ -55,11 +55,11 @@
      * Creates a new X509EncodedKeySpec with the given encoded key.
      *
      * @param encodedKey the key, which is assumed to be
      * encoded according to the X.509 standard. 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 X509EncodedKeySpec(byte[] encodedKey) {
         super(encodedKey);
     }

@@ -76,11 +76,11 @@
 
     /**
      * Returns the name of the encoding format associated with this
      * key specification.
      *
-     * @return the string <code>"X.509"</code>.
+     * @return the string {@code "X.509"}.
      */
     public final String getFormat() {
         return "X.509";
     }
 }