提交 e58a3c2e 编写于 作者: M mullan

6988599: CertificateRevokedException specifies name of authority but interacts...

6988599: CertificateRevokedException specifies name of authority but interacts with authority instance
Reviewed-by: vinnie
上级 3d4830f9
/* /*
* Copyright (c) 2007, Oracle and/or its affiliates. All rights reserved. * Copyright (c) 2007, 2010, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
* *
* This code is free software; you can redistribute it and/or modify it * This code is free software; you can redistribute it and/or modify it
...@@ -61,8 +61,8 @@ public class CertificateRevokedException extends CertificateException { ...@@ -61,8 +61,8 @@ public class CertificateRevokedException extends CertificateException {
*/ */
private final CRLReason reason; private final CRLReason reason;
/** /**
* @serial the name of the authority that signed the certificate's * @serial the <code>X500Principal</code> that represents the name of the
* revocation status information * authority that signed the certificate's revocation status information
*/ */
private final X500Principal authority; private final X500Principal authority;
...@@ -79,8 +79,9 @@ public class CertificateRevokedException extends CertificateException { ...@@ -79,8 +79,9 @@ public class CertificateRevokedException extends CertificateException {
* @param extensions a map of X.509 Extensions. Each key is an OID String * @param extensions a map of X.509 Extensions. Each key is an OID String
* that maps to the corresponding Extension. The map is copied to * that maps to the corresponding Extension. The map is copied to
* prevent subsequent modification. * prevent subsequent modification.
* @param authority the name of the authority that signed the certificate's * @param authority the <code>X500Principal</code> that represents the name
* revocation status information * of the authority that signed the certificate's revocation status
* information
* @throws NullPointerException if <code>revocationDate</code>, * @throws NullPointerException if <code>revocationDate</code>,
* <code>reason</code>, <code>authority</code>, or * <code>reason</code>, <code>authority</code>, or
* <code>extensions</code> is <code>null</code> * <code>extensions</code> is <code>null</code>
...@@ -121,8 +122,8 @@ public class CertificateRevokedException extends CertificateException { ...@@ -121,8 +122,8 @@ public class CertificateRevokedException extends CertificateException {
* Returns the name of the authority that signed the certificate's * Returns the name of the authority that signed the certificate's
* revocation status information. * revocation status information.
* *
* @return the name of the authority that signed the certificate's * @return the <code>X500Principal</code> that represents the name of the
* revocation status information * authority that signed the certificate's revocation status information
*/ */
public X500Principal getAuthorityName() { public X500Principal getAuthorityName() {
return authority; return authority;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册