mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8296612: CertAttrSet is useless
Reviewed-by: mullan
This commit is contained in:
parent
6b456f7a9b
commit
27527b4975
52 changed files with 80 additions and 203 deletions
|
@ -35,9 +35,9 @@ import sun.security.util.*;
|
|||
*
|
||||
* @author Amit Kapoor
|
||||
* @author Hemma Prafullchandra
|
||||
* @see CertAttrSet
|
||||
* @see DerEncoder
|
||||
*/
|
||||
public class CertificateValidity implements CertAttrSet {
|
||||
public class CertificateValidity implements DerEncoder {
|
||||
|
||||
public static final String NAME = "validity";
|
||||
/**
|
||||
|
@ -142,7 +142,7 @@ public class CertificateValidity implements CertAttrSet {
|
|||
// in cases where default constructor is used check for
|
||||
// null values
|
||||
if (notBefore == null || notAfter == null) {
|
||||
throw new IOException("CertAttrSet:CertificateValidity:" +
|
||||
throw new IOException("CertificateValidity:" +
|
||||
" null values to encode.\n");
|
||||
}
|
||||
DerOutputStream pair = new DerOutputStream();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue