class org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory$1 implements org.bouncycastle.cert.dane.DANEEntryFetcher
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory$1
super_class: java.lang.Object
{
final org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory this$0;
descriptor: Lorg/bouncycastle/cert/dane/fetcher/JndiDANEFetcherFactory;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
private final java.util.Hashtable val$env;
descriptor: Ljava/util/Hashtable;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
private final java.lang.String val$domainName;
descriptor: Ljava/lang/String;
flags: (0x1012) ACC_PRIVATE, ACC_FINAL, ACC_SYNTHETIC
void <init>(org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory, java.util.Hashtable, java.lang.String);
descriptor: (Lorg/bouncycastle/cert/dane/fetcher/JndiDANEFetcherFactory;Ljava/util/Hashtable;Ljava/lang/String;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 0: aload 0
aload 1
putfield org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory$1.this$0:Lorg/bouncycastle/cert/dane/fetcher/JndiDANEFetcherFactory;
aload 0
aload 2
putfield org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory$1.val$env:Ljava/util/Hashtable;
aload 0
aload 3
putfield org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory$1.val$domainName:Ljava/lang/String;
aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/dane/fetcher/JndiDANEFetcherFactory$1;
MethodParameters:
Name Flags
this$0 final
val$env final
val$domainName final
public java.util.List getEntries();
descriptor: ()Ljava/util/List;
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=11, args_size=1
start local 0 0: new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
astore 1
start local 1 1: new javax.naming.directory.InitialDirContext
dup
aload 0
getfield org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory$1.val$env:Ljava/util/Hashtable;
invokespecial javax.naming.directory.InitialDirContext.<init>:(Ljava/util/Hashtable;)V
astore 2
start local 2 2: aload 0
getfield org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory$1.val$domainName:Ljava/lang/String;
ldc "_smimecert."
invokevirtual java.lang.String.indexOf:(Ljava/lang/String;)I
ifle 8
3: aload 2
aload 0
getfield org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory$1.val$domainName:Ljava/lang/String;
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "53"
aastore
invokeinterface javax.naming.directory.DirContext.getAttributes:(Ljava/lang/String;[Ljava/lang/String;)Ljavax/naming/directory/Attributes;
astore 4
start local 4 4: aload 4
ldc "53"
invokeinterface javax.naming.directory.Attributes.get:(Ljava/lang/String;)Ljavax/naming/directory/Attribute;
astore 5
start local 5 5: aload 5
ifnull 20
6: aload 0
getfield org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory$1.this$0:Lorg/bouncycastle/cert/dane/fetcher/JndiDANEFetcherFactory;
aload 1
aload 0
getfield org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory$1.val$domainName:Ljava/lang/String;
aload 5
invokevirtual org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory.addEntries:(Ljava/util/List;Ljava/lang/String;Ljavax/naming/directory/Attribute;)V
end local 5 end local 4 7: goto 20
8: StackMap locals: java.util.List javax.naming.directory.DirContext
StackMap stack:
aload 2
new java.lang.StringBuilder
dup
ldc "_smimecert."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 0
getfield org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory$1.val$domainName:Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokeinterface javax.naming.directory.DirContext.listBindings:(Ljava/lang/String;)Ljavax/naming/NamingEnumeration;
astore 3
start local 3 9: goto 19
10: StackMap locals: javax.naming.NamingEnumeration
StackMap stack:
aload 3
invokeinterface javax.naming.NamingEnumeration.next:()Ljava/lang/Object;
checkcast javax.naming.Binding
astore 4
start local 4 11: aload 4
invokevirtual javax.naming.Binding.getObject:()Ljava/lang/Object;
checkcast javax.naming.directory.DirContext
astore 5
start local 5 12: aload 5
invokeinterface javax.naming.directory.DirContext.getNameInNamespace:()Ljava/lang/String;
iconst_1
aload 5
invokeinterface javax.naming.directory.DirContext.getNameInNamespace:()Ljava/lang/String;
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 6
start local 6 13: aload 2
aload 6
iconst_1
anewarray java.lang.String
dup
iconst_0
ldc "53"
aastore
invokeinterface javax.naming.directory.DirContext.getAttributes:(Ljava/lang/String;[Ljava/lang/String;)Ljavax/naming/directory/Attributes;
astore 7
start local 7 14: aload 7
ldc "53"
invokeinterface javax.naming.directory.Attributes.get:(Ljava/lang/String;)Ljavax/naming/directory/Attribute;
astore 8
start local 8 15: aload 8
ifnull 19
16: aload 5
invokeinterface javax.naming.directory.DirContext.getNameInNamespace:()Ljava/lang/String;
astore 9
start local 9 17: aload 9
iconst_1
aload 9
invokevirtual java.lang.String.length:()I
iconst_1
isub
invokevirtual java.lang.String.substring:(II)Ljava/lang/String;
astore 10
start local 10 18: aload 0
getfield org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory$1.this$0:Lorg/bouncycastle/cert/dane/fetcher/JndiDANEFetcherFactory;
aload 1
aload 10
aload 8
invokevirtual org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory.addEntries:(Ljava/util/List;Ljava/lang/String;Ljavax/naming/directory/Attribute;)V
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 19: StackMap locals:
StackMap stack:
aload 3
invokeinterface javax.naming.NamingEnumeration.hasMore:()Z
ifne 10
end local 3 20: StackMap locals:
StackMap stack:
aload 1
21: areturn
end local 2 22: StackMap locals: org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory$1 java.util.List
StackMap stack: javax.naming.NamingException
astore 2
start local 2 23: new org.bouncycastle.cert.dane.DANEException
dup
new java.lang.StringBuilder
dup
ldc "Exception dealing with DNS: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual javax.naming.NamingException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial org.bouncycastle.cert.dane.DANEException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 24 0 this Lorg/bouncycastle/cert/dane/fetcher/JndiDANEFetcherFactory$1;
1 24 1 entries Ljava/util/List;
2 22 2 ctx Ljavax/naming/directory/DirContext;
9 20 3 bindings Ljavax/naming/NamingEnumeration;
4 7 4 attrs Ljavax/naming/directory/Attributes;
5 7 5 smimeAttr Ljavax/naming/directory/Attribute;
11 19 4 b Ljavax/naming/Binding;
12 19 5 sc Ljavax/naming/directory/DirContext;
13 19 6 name Ljava/lang/String;
14 19 7 attrs Ljavax/naming/directory/Attributes;
15 19 8 smimeAttr Ljavax/naming/directory/Attribute;
17 19 9 fullName Ljava/lang/String;
18 19 10 domainName Ljava/lang/String;
23 24 2 e Ljavax/naming/NamingException;
Exception table:
from to target type
1 21 22 Class javax.naming.NamingException
Exceptions:
throws org.bouncycastle.cert.dane.DANEException
}
SourceFile: "JndiDANEFetcherFactory.java"
EnclosingMethod: org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory.build:(Ljava/lang/String;)Lorg/bouncycastle/cert/dane/DANEEntryFetcher;
NestHost: org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory
InnerClasses:
org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory$1