--- old/src/share/classes/java/security/Signer.java 2013-06-28 10:31:57.034376692 -0700 +++ new/src/share/classes/java/security/Signer.java 2013-06-28 10:31:56.878376695 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1996, 2006, Oracle and/or its affiliates. All rights reserved. + * 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 @@ -40,9 +40,9 @@ * @author Benjamin Renaud * * @deprecated This class is no longer used. Its functionality has been - * replaced by java.security.KeyStore, the - * java.security.cert package, and - * java.security.Principal. + * replaced by {@code java.security.KeyStore}, the + * {@code java.security.cert} package, and + * {@code java.security.Principal}. */ @Deprecated public abstract class Signer extends Identity { @@ -92,15 +92,15 @@ /** * Returns this signer's private key. * - *

First, if there is a security manager, its checkSecurityAccess - * method is called with "getSignerPrivateKey" + *

First, if there is a security manager, its {@code checkSecurityAccess} + * method is called with {@code "getSignerPrivateKey"} * as its argument to see if it's ok to return the private key. * * @return this signer's private key, or null if the private key has * not yet been set. * * @exception SecurityException if a security manager exists and its - * checkSecurityAccess method doesn't allow + * {@code checkSecurityAccess} method doesn't allow * returning the private key. * * @see SecurityManager#checkSecurityAccess @@ -113,8 +113,8 @@ /** * Sets the key pair (public key and private key) for this signer. * - *

First, if there is a security manager, its checkSecurityAccess - * method is called with "setSignerKeyPair" + *

First, if there is a security manager, its {@code checkSecurityAccess} + * method is called with {@code "setSignerKeyPair"} * as its argument to see if it's ok to set the key pair. * * @param pair an initialized key pair. @@ -124,7 +124,7 @@ * @exception KeyException if the key pair cannot be set for any * other reason. * @exception SecurityException if a security manager exists and its - * checkSecurityAccess method doesn't allow + * {@code checkSecurityAccess} method doesn't allow * setting the key pair. * * @see SecurityManager#checkSecurityAccess