public class org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory implements org.bouncycastle.cert.dane.DANEEntryFetcherFactory
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory
super_class: java.lang.Object
{
private static final java.lang.String DANE_TYPE;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "53"
private java.util.List dnsServerList;
descriptor: Ljava/util/List;
flags: (0x0002) ACC_PRIVATE
private boolean isAuthoritative;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.ArrayList
dup
invokespecial java.util.ArrayList.<init>:()V
putfield org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory.dnsServerList:Ljava/util/List;
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/cert/dane/fetcher/JndiDANEFetcherFactory;
public org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory usingDNSServer(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bouncycastle/cert/dane/fetcher/JndiDANEFetcherFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory.dnsServerList:Ljava/util/List;
aload 1
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/dane/fetcher/JndiDANEFetcherFactory;
0 2 1 dnsServer Ljava/lang/String;
MethodParameters:
Name Flags
dnsServer
public org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory setAuthoritative(boolean);
descriptor: (Z)Lorg/bouncycastle/cert/dane/fetcher/JndiDANEFetcherFactory;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iload 1
putfield org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory.isAuthoritative:Z
1: aload 0
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/dane/fetcher/JndiDANEFetcherFactory;
0 2 1 isAuthoritative Z
MethodParameters:
Name Flags
isAuthoritative
public org.bouncycastle.cert.dane.DANEEntryFetcher build(java.lang.String);
descriptor: (Ljava/lang/String;)Lorg/bouncycastle/cert/dane/DANEEntryFetcher;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: new java.util.Hashtable
dup
invokespecial java.util.Hashtable.<init>:()V
astore 2
start local 2 1: aload 2
ldc "java.naming.factory.initial"
ldc "com.sun.jndi.dns.DnsContextFactory"
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
2: aload 2
ldc "java.naming.authoritative"
aload 0
getfield org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory.isAuthoritative:Z
ifeq 3
ldc "true"
goto 4
StackMap locals: org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory java.lang.String java.util.Hashtable
StackMap stack: java.util.Hashtable java.lang.String
3: ldc "false"
StackMap locals: org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory java.lang.String java.util.Hashtable
StackMap stack: java.util.Hashtable java.lang.String java.lang.String
4: invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
5: aload 0
getfield org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory.dnsServerList:Ljava/util/List;
invokeinterface java.util.List.size:()I
ifle 14
6: new java.lang.StringBuffer
dup
invokespecial java.lang.StringBuffer.<init>:()V
astore 3
start local 3 7: aload 0
getfield org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory.dnsServerList:Ljava/util/List;
invokeinterface java.util.List.iterator:()Ljava/util/Iterator;
astore 4
start local 4 8: goto 12
9: StackMap locals: java.lang.StringBuffer java.util.Iterator
StackMap stack:
aload 3
invokevirtual java.lang.StringBuffer.length:()I
ifle 11
10: aload 3
ldc " "
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
11: StackMap locals:
StackMap stack:
aload 3
new java.lang.StringBuilder
dup
ldc "dns://"
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 4
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuffer.append:(Ljava/lang/String;)Ljava/lang/StringBuffer;
pop
12: StackMap locals:
StackMap stack:
aload 4
invokeinterface java.util.Iterator.hasNext:()Z
ifne 9
end local 4 13: aload 2
ldc "java.naming.provider.url"
aload 3
invokevirtual java.lang.StringBuffer.toString:()Ljava/lang/String;
invokevirtual java.util.Hashtable.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
pop
end local 3 14: StackMap locals:
StackMap stack:
new org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory$1
dup
aload 0
aload 2
aload 1
invokespecial org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory$1.<init>:(Lorg/bouncycastle/cert/dane/fetcher/JndiDANEFetcherFactory;Ljava/util/Hashtable;Ljava/lang/String;)V
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lorg/bouncycastle/cert/dane/fetcher/JndiDANEFetcherFactory;
0 15 1 domainName Ljava/lang/String;
1 15 2 env Ljava/util/Hashtable;
7 14 3 dnsServers Ljava/lang/StringBuffer;
8 13 4 it Ljava/util/Iterator;
MethodParameters:
Name Flags
domainName final
private void addEntries(java.util.List, java.lang.String, javax.naming.directory.Attribute);
descriptor: (Ljava/util/List;Ljava/lang/String;Ljavax/naming/directory/Attribute;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=5, locals=7, args_size=4
start local 0 start local 1 start local 2 start local 3 0: iconst_0
istore 4
start local 4 1: goto 9
2: StackMap locals: int
StackMap stack:
aload 3
iload 4
invokeinterface javax.naming.directory.Attribute.get:(I)Ljava/lang/Object;
checkcast byte[]
astore 5
start local 5 3: aload 5
invokestatic org.bouncycastle.cert.dane.DANEEntry.isValidCertificate:([B)Z
ifeq 8
4: aload 1
new org.bouncycastle.cert.dane.DANEEntry
dup
aload 2
aload 5
invokespecial org.bouncycastle.cert.dane.DANEEntry.<init>:(Ljava/lang/String;[B)V
invokeinterface java.util.List.add:(Ljava/lang/Object;)Z
pop
5: goto 8
6: StackMap locals: org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory java.util.List java.lang.String javax.naming.directory.Attribute int byte[]
StackMap stack: java.io.IOException
astore 6
start local 6 7: new org.bouncycastle.cert.dane.DANEException
dup
new java.lang.StringBuilder
dup
ldc "Exception parsing entry: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 6
invokevirtual java.io.IOException.getMessage:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 6
invokespecial org.bouncycastle.cert.dane.DANEException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 6 end local 5 8: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
9: iload 4
aload 3
invokeinterface javax.naming.directory.Attribute.size:()I
if_icmpne 2
end local 4 10: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/cert/dane/fetcher/JndiDANEFetcherFactory;
0 11 1 entries Ljava/util/List;
0 11 2 domainName Ljava/lang/String;
0 11 3 smimeAttr Ljavax/naming/directory/Attribute;
1 10 4 index I
3 8 5 data [B
7 8 6 e Ljava/io/IOException;
Exception table:
from to target type
4 5 6 Class java.io.IOException
Exceptions:
throws javax.naming.NamingException, org.bouncycastle.cert.dane.DANEException
MethodParameters:
Name Flags
entries
domainName
smimeAttr
}
SourceFile: "JndiDANEFetcherFactory.java"
NestMembers:
org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory$1
InnerClasses:
org.bouncycastle.cert.dane.fetcher.JndiDANEFetcherFactory$1