class org.bouncycastle.est.jcajce.JcaJceUtils$2 implements javax.net.ssl.X509TrustManager
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.est.jcajce.JcaJceUtils$2
super_class: java.lang.Object
{
private final java.util.Set val$anchors;
descriptor: Ljava/util/Set;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.security.cert.CRL[] val$revocationLists;
descriptor: [Ljava/security/cert/CRL;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.security.cert.X509Certificate[] val$x509CertificateTrustAnchors;
descriptor: [Ljava/security/cert/X509Certificate;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(java.util.Set, java.security.cert.CRL[], java.security.cert.X509Certificate[]);
descriptor: (Ljava/util/Set;[Ljava/security/cert/CRL;[Ljava/security/cert/X509Certificate;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield org.bouncycastle.est.jcajce.JcaJceUtils$2.val$anchors:Ljava/util/Set;
aload 0
aload 2
putfield org.bouncycastle.est.jcajce.JcaJceUtils$2.val$revocationLists:[Ljava/security/cert/CRL;
aload 0
aload 3
putfield org.bouncycastle.est.jcajce.JcaJceUtils$2.val$x509CertificateTrustAnchors:[Ljava/security/cert/X509Certificate;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/est/jcajce/JcaJceUtils$2;
MethodParameters:
Name Flags
val$anchors final
val$revocationLists final
val$x509CertificateTrustAnchors final
public void checkClientTrusted(java.security.cert.X509Certificate[], java.lang.String);
descriptor: ([Ljava/security/cert/X509Certificate;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=0, locals=3, args_size=3
start local 0 start local 1 start local 2 0: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/est/jcajce/JcaJceUtils$2;
0 1 1 x509Certificates [Ljava/security/cert/X509Certificate;
0 1 2 s Ljava/lang/String;
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
x509Certificates
s
public void checkServerTrusted(java.security.cert.X509Certificate[], java.lang.String);
descriptor: ([Ljava/security/cert/X509Certificate;Ljava/lang/String;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=7, args_size=3
start local 0 start local 1 start local 2 0: ldc "Collection"
1: new java.security.cert.CollectionCertStoreParameters
dup
aload 1
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.security.cert.CollectionCertStoreParameters.<init>:(Ljava/util/Collection;)V
ldc "BC"
2: invokestatic java.security.cert.CertStore.getInstance:(Ljava/lang/String;Ljava/security/cert/CertStoreParameters;Ljava/lang/String;)Ljava/security/cert/CertStore;
astore 3
start local 3 3: ldc "PKIX"
ldc "BC"
invokestatic java.security.cert.CertPathBuilder.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/cert/CertPathBuilder;
astore 4
start local 4 4: new java.security.cert.X509CertSelector
dup
invokespecial java.security.cert.X509CertSelector.<init>:()V
astore 5
start local 5 5: aload 5
aload 1
iconst_0
aaload
invokevirtual java.security.cert.X509CertSelector.setCertificate:(Ljava/security/cert/X509Certificate;)V
6: new java.security.cert.PKIXBuilderParameters
dup
aload 0
getfield org.bouncycastle.est.jcajce.JcaJceUtils$2.val$anchors:Ljava/util/Set;
aload 5
invokespecial java.security.cert.PKIXBuilderParameters.<init>:(Ljava/util/Set;Ljava/security/cert/CertSelector;)V
astore 6
start local 6 7: aload 6
aload 3
invokevirtual java.security.cert.PKIXBuilderParameters.addCertStore:(Ljava/security/cert/CertStore;)V
8: aload 0
getfield org.bouncycastle.est.jcajce.JcaJceUtils$2.val$revocationLists:[Ljava/security/cert/CRL;
ifnull 16
9: aload 6
iconst_1
invokevirtual java.security.cert.PKIXBuilderParameters.setRevocationEnabled:(Z)V
10: aload 6
11: ldc "Collection"
12: new java.security.cert.CollectionCertStoreParameters
dup
aload 0
getfield org.bouncycastle.est.jcajce.JcaJceUtils$2.val$revocationLists:[Ljava/security/cert/CRL;
invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
invokespecial java.security.cert.CollectionCertStoreParameters.<init>:(Ljava/util/Collection;)V
13: invokestatic java.security.cert.CertStore.getInstance:(Ljava/lang/String;Ljava/security/cert/CertStoreParameters;)Ljava/security/cert/CertStore;
14: invokevirtual java.security.cert.PKIXBuilderParameters.addCertStore:(Ljava/security/cert/CertStore;)V
15: goto 17
16: StackMap locals: org.bouncycastle.est.jcajce.JcaJceUtils$2 java.security.cert.X509Certificate[] java.lang.String java.security.cert.CertStore java.security.cert.CertPathBuilder java.security.cert.X509CertSelector java.security.cert.PKIXBuilderParameters
StackMap stack:
aload 6
iconst_0
invokevirtual java.security.cert.PKIXBuilderParameters.setRevocationEnabled:(Z)V
17: StackMap locals:
StackMap stack:
aload 4
aload 6
invokevirtual java.security.cert.CertPathBuilder.build:(Ljava/security/cert/CertPathParameters;)Ljava/security/cert/CertPathBuilderResult;
checkcast java.security.cert.PKIXCertPathValidatorResult
pop
18: aload 1
iconst_0
aaload
invokestatic org.bouncycastle.est.jcajce.JcaJceUtils.validateServerCertUsage:(Ljava/security/cert/X509Certificate;)V
end local 6 end local 5 end local 4 end local 3 19: goto 24
20: StackMap locals: org.bouncycastle.est.jcajce.JcaJceUtils$2 java.security.cert.X509Certificate[] java.lang.String
StackMap stack: java.security.cert.CertificateException
astore 3
start local 3 21: aload 3
athrow
end local 3 22: StackMap locals:
StackMap stack: java.security.GeneralSecurityException
astore 3
start local 3 23: new java.security.cert.CertificateException
dup
new java.lang.StringBuilder
dup
ldc "unable to process certificates: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.security.GeneralSecurityException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial java.security.cert.CertificateException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 24: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 25 0 this Lorg/bouncycastle/est/jcajce/JcaJceUtils$2;
0 25 1 x509Certificates [Ljava/security/cert/X509Certificate;
0 25 2 s Ljava/lang/String;
3 19 3 certStore Ljava/security/cert/CertStore;
4 19 4 pathBuilder Ljava/security/cert/CertPathBuilder;
5 19 5 constraints Ljava/security/cert/X509CertSelector;
7 19 6 param Ljava/security/cert/PKIXBuilderParameters;
21 22 3 e Ljava/security/cert/CertificateException;
23 24 3 e Ljava/security/GeneralSecurityException;
Exception table:
from to target type
0 19 20 Class java.security.cert.CertificateException
0 19 22 Class java.security.GeneralSecurityException
Exceptions:
throws java.security.cert.CertificateException
MethodParameters:
Name Flags
x509Certificates
s
public java.security.cert.X509Certificate[] getAcceptedIssuers();
descriptor: ()[Ljava/security/cert/X509Certificate;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=2, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.est.jcajce.JcaJceUtils$2.val$x509CertificateTrustAnchors:[Ljava/security/cert/X509Certificate;
arraylength
anewarray java.security.cert.X509Certificate
astore 1
start local 1 1: aload 0
getfield org.bouncycastle.est.jcajce.JcaJceUtils$2.val$x509CertificateTrustAnchors:[Ljava/security/cert/X509Certificate;
iconst_0
aload 1
iconst_0
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
2: aload 1
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/est/jcajce/JcaJceUtils$2;
1 3 1 rv [Ljava/security/cert/X509Certificate;
}
SourceFile: "JcaJceUtils.java"
EnclosingMethod: org.bouncycastle.est.jcajce.JcaJceUtils.getCertPathTrustManager:(Ljava/util/Set;[Ljava/security/cert/CRL;)[Ljavax/net/ssl/X509TrustManager;
NestHost: org.bouncycastle.est.jcajce.JcaJceUtils
InnerClasses:
org.bouncycastle.est.jcajce.JcaJceUtils$2