public abstract class sun.security.validator.Validator
minor version: 0
major version: 59
flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
this_class: sun.security.validator.Validator
super_class: java.lang.Object
{
static final java.security.cert.X509Certificate[] CHAIN0;
descriptor: [Ljava/security/cert/X509Certificate;
flags: (0x0018) ACC_STATIC, ACC_FINAL
public static final java.lang.String TYPE_SIMPLE;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "Simple"
public static final java.lang.String TYPE_PKIX;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "PKIX"
public static final java.lang.String VAR_GENERIC;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "generic"
public static final java.lang.String VAR_CODE_SIGNING;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "code signing"
public static final java.lang.String VAR_JCE_SIGNING;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "jce signing"
public static final java.lang.String VAR_TLS_CLIENT;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "tls client"
public static final java.lang.String VAR_TLS_SERVER;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "tls server"
public static final java.lang.String VAR_TSA_SERVER;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "tsa server"
public static final java.lang.String VAR_PLUGIN_CODE_SIGNING;
descriptor: Ljava/lang/String;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: "plugin code signing"
private final java.lang.String type;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final sun.security.validator.EndEntityChecker endEntityChecker;
descriptor: Lsun/security/validator/EndEntityChecker;
flags: (0x0010) ACC_FINAL
final java.lang.String variant;
descriptor: Ljava/lang/String;
flags: (0x0010) ACC_FINAL
volatile java.util.Date validationDate;
descriptor: Ljava/util/Date;
flags: (0x0040) ACC_VOLATILE
RuntimeVisibleAnnotations:
java.lang.Deprecated()
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: iconst_0
anewarray java.security.cert.X509Certificate
putstatic sun.security.validator.Validator.CHAIN0:[Ljava/security/cert/X509Certificate;
1: return
LocalVariableTable:
Start End Slot Name Signature
void <init>(java.lang.String, java.lang.String);
descriptor: (Ljava/lang/String;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield sun.security.validator.Validator.type:Ljava/lang/String;
2: aload 0
aload 2
putfield sun.security.validator.Validator.variant:Ljava/lang/String;
3: aload 0
aload 1
aload 2
invokestatic sun.security.validator.EndEntityChecker.getInstance:(Ljava/lang/String;Ljava/lang/String;)Lsun/security/validator/EndEntityChecker;
putfield sun.security.validator.Validator.endEntityChecker:Lsun/security/validator/EndEntityChecker;
4: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lsun/security/validator/Validator;
0 5 1 type Ljava/lang/String;
0 5 2 variant Ljava/lang/String;
MethodParameters:
Name Flags
type
variant
public static sun.security.validator.Validator getInstance(java.lang.String, java.lang.String, java.security.KeyStore);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/security/KeyStore;)Lsun/security/validator/Validator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokestatic sun.security.validator.TrustStoreUtil.getTrustedCerts:(Ljava/security/KeyStore;)Ljava/util/Set;
invokestatic sun.security.validator.Validator.getInstance:(Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;)Lsun/security/validator/Validator;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 type Ljava/lang/String;
0 1 1 variant Ljava/lang/String;
0 1 2 ks Ljava/security/KeyStore;
MethodParameters:
Name Flags
type
variant
ks
public static sun.security.validator.Validator getInstance(java.lang.String, java.lang.String, java.util.Collection<java.security.cert.X509Certificate>);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection;)Lsun/security/validator/Validator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "Simple"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 2
1: new sun.security.validator.SimpleValidator
dup
aload 1
aload 2
invokespecial sun.security.validator.SimpleValidator.<init>:(Ljava/lang/String;Ljava/util/Collection;)V
areturn
2: StackMap locals:
StackMap stack:
aload 0
ldc "PKIX"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifeq 4
3: new sun.security.validator.PKIXValidator
dup
aload 1
aload 2
invokespecial sun.security.validator.PKIXValidator.<init>:(Ljava/lang/String;Ljava/util/Collection;)V
areturn
4: StackMap locals:
StackMap stack:
new java.lang.IllegalArgumentException
dup
5: new java.lang.StringBuilder
dup
ldc "Unknown validator type: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
6: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 type Ljava/lang/String;
0 7 1 variant Ljava/lang/String;
0 7 2 trustedCerts Ljava/util/Collection<Ljava/security/cert/X509Certificate;>;
Signature: (Ljava/lang/String;Ljava/lang/String;Ljava/util/Collection<Ljava/security/cert/X509Certificate;>;)Lsun/security/validator/Validator;
MethodParameters:
Name Flags
type
variant
trustedCerts
public static sun.security.validator.Validator getInstance(java.lang.String, java.lang.String, java.security.cert.PKIXBuilderParameters);
descriptor: (Ljava/lang/String;Ljava/lang/String;Ljava/security/cert/PKIXBuilderParameters;)Lsun/security/validator/Validator;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
ldc "PKIX"
invokevirtual java.lang.String.equals:(Ljava/lang/Object;)Z
ifne 4
1: new java.lang.IllegalArgumentException
dup
2: ldc "getInstance(PKIXBuilderParameters) can only be used with PKIX validator"
3: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
4: StackMap locals:
StackMap stack:
new sun.security.validator.PKIXValidator
dup
aload 1
aload 2
invokespecial sun.security.validator.PKIXValidator.<init>:(Ljava/lang/String;Ljava/security/cert/PKIXBuilderParameters;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 type Ljava/lang/String;
0 5 1 variant Ljava/lang/String;
0 5 2 params Ljava/security/cert/PKIXBuilderParameters;
MethodParameters:
Name Flags
type
variant
params
public final java.security.cert.X509Certificate[] validate(java.security.cert.X509Certificate[]);
descriptor: ([Ljava/security/cert/X509Certificate;)[Ljava/security/cert/X509Certificate;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
aconst_null
aconst_null
invokevirtual sun.security.validator.Validator.validate:([Ljava/security/cert/X509Certificate;Ljava/util/Collection;Ljava/lang/Object;)[Ljava/security/cert/X509Certificate;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/validator/Validator;
0 1 1 chain [Ljava/security/cert/X509Certificate;
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
chain
public final java.security.cert.X509Certificate[] validate(java.security.cert.X509Certificate[], java.util.Collection<java.security.cert.X509Certificate>);
descriptor: ([Ljava/security/cert/X509Certificate;Ljava/util/Collection;)[Ljava/security/cert/X509Certificate;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
aconst_null
invokevirtual sun.security.validator.Validator.validate:([Ljava/security/cert/X509Certificate;Ljava/util/Collection;Ljava/lang/Object;)[Ljava/security/cert/X509Certificate;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/validator/Validator;
0 1 1 chain [Ljava/security/cert/X509Certificate;
0 1 2 otherCerts Ljava/util/Collection<Ljava/security/cert/X509Certificate;>;
Exceptions:
throws java.security.cert.CertificateException
Signature: ([Ljava/security/cert/X509Certificate;Ljava/util/Collection<Ljava/security/cert/X509Certificate;>;)[Ljava/security/cert/X509Certificate;
MethodParameters:
Name Flags
chain
otherCerts
public final java.security.cert.X509Certificate[] validate(java.security.cert.X509Certificate[], java.util.Collection<java.security.cert.X509Certificate>, );
descriptor: ([Ljava/security/cert/X509Certificate;Ljava/util/Collection;Ljava/lang/Object;)[Ljava/security/cert/X509Certificate;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
aload 1
aload 2
invokestatic java.util.Collections.emptyList:()Ljava/util/List;
aconst_null
1: aload 3
2: invokevirtual sun.security.validator.Validator.validate:([Ljava/security/cert/X509Certificate;Ljava/util/Collection;Ljava/util/List;Ljava/security/AlgorithmConstraints;Ljava/lang/Object;)[Ljava/security/cert/X509Certificate;
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lsun/security/validator/Validator;
0 3 1 chain [Ljava/security/cert/X509Certificate;
0 3 2 otherCerts Ljava/util/Collection<Ljava/security/cert/X509Certificate;>;
0 3 3 parameter Ljava/lang/Object;
Exceptions:
throws java.security.cert.CertificateException
Signature: ([Ljava/security/cert/X509Certificate;Ljava/util/Collection<Ljava/security/cert/X509Certificate;>;Ljava/lang/Object;)[Ljava/security/cert/X509Certificate;
MethodParameters:
Name Flags
chain
otherCerts
parameter
public final java.security.cert.X509Certificate[] validate(java.security.cert.X509Certificate[], java.util.Collection<java.security.cert.X509Certificate>, java.util.List<byte[]>, java.security.AlgorithmConstraints, );
descriptor: ([Ljava/security/cert/X509Certificate;Ljava/util/Collection;Ljava/util/List;Ljava/security/AlgorithmConstraints;Ljava/lang/Object;)[Ljava/security/cert/X509Certificate;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
Code:
stack=6, locals=7, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
aload 1
aload 2
aload 3
aload 4
1: aload 5
2: invokevirtual sun.security.validator.Validator.engineValidate:([Ljava/security/cert/X509Certificate;Ljava/util/Collection;Ljava/util/List;Ljava/security/AlgorithmConstraints;Ljava/lang/Object;)[Ljava/security/cert/X509Certificate;
astore 1
3: aload 1
arraylength
iconst_1
if_icmple 10
4: aload 0
getfield sun.security.validator.Validator.type:Ljava/lang/String;
ldc "PKIX"
if_acmpne 5
iconst_0
goto 6
StackMap locals:
StackMap stack:
5: iconst_1
6: StackMap locals:
StackMap stack: int
istore 6
start local 6 7: aload 0
getfield sun.security.validator.Validator.endEntityChecker:Lsun/security/validator/EndEntityChecker;
aload 1
iconst_0
aaload
aload 5
8: iload 6
9: invokevirtual sun.security.validator.EndEntityChecker.check:(Ljava/security/cert/X509Certificate;Ljava/lang/Object;Z)V
end local 6 10: StackMap locals:
StackMap stack:
aload 1
areturn
end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lsun/security/validator/Validator;
0 11 1 chain [Ljava/security/cert/X509Certificate;
0 11 2 otherCerts Ljava/util/Collection<Ljava/security/cert/X509Certificate;>;
0 11 3 responseList Ljava/util/List<[B>;
0 11 4 constraints Ljava/security/AlgorithmConstraints;
0 11 5 parameter Ljava/lang/Object;
7 10 6 checkUnresolvedCritExts Z
Exceptions:
throws java.security.cert.CertificateException
Signature: ([Ljava/security/cert/X509Certificate;Ljava/util/Collection<Ljava/security/cert/X509Certificate;>;Ljava/util/List<[B>;Ljava/security/AlgorithmConstraints;Ljava/lang/Object;)[Ljava/security/cert/X509Certificate;
MethodParameters:
Name Flags
chain
otherCerts
responseList
constraints
parameter
abstract java.security.cert.X509Certificate[] engineValidate(java.security.cert.X509Certificate[], java.util.Collection<java.security.cert.X509Certificate>, java.util.List<byte[]>, java.security.AlgorithmConstraints, );
descriptor: ([Ljava/security/cert/X509Certificate;Ljava/util/Collection;Ljava/util/List;Ljava/security/AlgorithmConstraints;Ljava/lang/Object;)[Ljava/security/cert/X509Certificate;
flags: (0x0400) ACC_ABSTRACT
Exceptions:
throws java.security.cert.CertificateException
Signature: ([Ljava/security/cert/X509Certificate;Ljava/util/Collection<Ljava/security/cert/X509Certificate;>;Ljava/util/List<[B>;Ljava/security/AlgorithmConstraints;Ljava/lang/Object;)[Ljava/security/cert/X509Certificate;
MethodParameters:
Name Flags
chain
otherCerts
responseList
constraints
parameter
public abstract java.util.Collection<java.security.cert.X509Certificate> getTrustedCertificates();
descriptor: ()Ljava/util/Collection;
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
Signature: ()Ljava/util/Collection<Ljava/security/cert/X509Certificate;>;
public void setValidationDate(java.util.Date);
descriptor: (Ljava/util/Date;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield sun.security.validator.Validator.validationDate:Ljava/util/Date;
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/validator/Validator;
0 2 1 validationDate Ljava/util/Date;
RuntimeVisibleAnnotations:
java.lang.Deprecated()
MethodParameters:
Name Flags
validationDate
}
SourceFile: "Validator.java"