equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2012, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2013, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
88 return this.type; |
88 return this.type; |
89 } |
89 } |
90 |
90 |
91 /** |
91 /** |
92 * Compares this certificate for equality with the specified |
92 * Compares this certificate for equality with the specified |
93 * object. If the <code>other</code> object is an |
93 * object. If the {@code other} object is an |
94 * <code>instanceof</code> <code>Certificate</code>, then |
94 * {@code instanceof} {@code Certificate}, then |
95 * its encoded form is retrieved and compared with the |
95 * its encoded form is retrieved and compared with the |
96 * encoded form of this certificate. |
96 * encoded form of this certificate. |
97 * |
97 * |
98 * @param other the object to test for equality with this certificate. |
98 * @param other the object to test for equality with this certificate. |
99 * @return true iff the encoded forms of the two certificates |
99 * @return true iff the encoded forms of the two certificates |
194 * supplied by the specified provider. Note that the specified |
194 * supplied by the specified provider. Note that the specified |
195 * Provider object does not have to be registered in the provider list. |
195 * Provider object does not have to be registered in the provider list. |
196 * |
196 * |
197 * <p> This method was added to version 1.8 of the Java Platform |
197 * <p> This method was added to version 1.8 of the Java Platform |
198 * Standard Edition. In order to maintain backwards compatibility with |
198 * Standard Edition. In order to maintain backwards compatibility with |
199 * existing service providers, this method cannot be <code>abstract</code> |
199 * existing service providers, this method cannot be {@code abstract} |
200 * and by default throws an <code>UnsupportedOperationException</code>. |
200 * and by default throws an {@code UnsupportedOperationException}. |
201 * |
201 * |
202 * @param key the PublicKey used to carry out the verification. |
202 * @param key the PublicKey used to carry out the verification. |
203 * @param sigProvider the signature provider. |
203 * @param sigProvider the signature provider. |
204 * |
204 * |
205 * @exception NoSuchAlgorithmException on unsupported signature |
205 * @exception NoSuchAlgorithmException on unsupported signature |