public class org.bouncycastle.cert.dane.DANEEntry
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cert.dane.DANEEntry
super_class: java.lang.Object
{
public static final int CERT_USAGE_CA;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 0
public static final int CERT_USAGE_PKIX_VALIDATE;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 1
public static final int CERT_USAGE_TRUST_ANCHOR;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 2
public static final int CERT_USAGE_ACCEPT;
descriptor: I
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
ConstantValue: 3
static final int CERT_USAGE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0
static final int SELECTOR;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 1
static final int MATCHING_TYPE;
descriptor: I
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 2
private final java.lang.String domainName;
descriptor: Ljava/lang/String;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final byte[] flags;
descriptor: [B
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.bouncycastle.cert.X509CertificateHolder certHolder;
descriptor: Lorg/bouncycastle/cert/X509CertificateHolder;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
void <init>(java.lang.String, byte[], org.bouncycastle.cert.X509CertificateHolder);
descriptor: (Ljava/lang/String;[BLorg/bouncycastle/cert/X509CertificateHolder;)V
flags: (0x0000)
Code:
stack=2, locals=4, args_size=4
start local 0 start local 1 start local 2 start local 3 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 2
putfield org.bouncycastle.cert.dane.DANEEntry.flags:[B
2: aload 0
aload 1
putfield org.bouncycastle.cert.dane.DANEEntry.domainName:Ljava/lang/String;
3: aload 0
aload 3
putfield org.bouncycastle.cert.dane.DANEEntry.certHolder:Lorg/bouncycastle/cert/X509CertificateHolder;
4: return
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/cert/dane/DANEEntry;
0 5 1 domainName Ljava/lang/String;
0 5 2 flags [B
0 5 3 certHolder Lorg/bouncycastle/cert/X509CertificateHolder;
MethodParameters:
Name Flags
domainName
flags
certHolder
public void <init>(java.lang.String, byte[]);
descriptor: (Ljava/lang/String;[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
iconst_0
iconst_3
invokestatic org.bouncycastle.util.Arrays.copyOfRange:([BII)[B
new org.bouncycastle.cert.X509CertificateHolder
dup
aload 2
iconst_3
aload 2
arraylength
invokestatic org.bouncycastle.util.Arrays.copyOfRange:([BII)[B
invokespecial org.bouncycastle.cert.X509CertificateHolder.<init>:([B)V
invokespecial org.bouncycastle.cert.dane.DANEEntry.<init>:(Ljava/lang/String;[BLorg/bouncycastle/cert/X509CertificateHolder;)V
1: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/cert/dane/DANEEntry;
0 2 1 domainName Ljava/lang/String;
0 2 2 data [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
domainName
data
public byte[] getFlags();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cert.dane.DANEEntry.flags:[B
invokestatic org.bouncycastle.util.Arrays.clone:([B)[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/dane/DANEEntry;
public org.bouncycastle.cert.X509CertificateHolder getCertificate();
descriptor: ()Lorg/bouncycastle/cert/X509CertificateHolder;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cert.dane.DANEEntry.certHolder:Lorg/bouncycastle/cert/X509CertificateHolder;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/dane/DANEEntry;
public java.lang.String getDomainName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cert.dane.DANEEntry.domainName:Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/dane/DANEEntry;
public byte[] getRDATA();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.cert.dane.DANEEntry.certHolder:Lorg/bouncycastle/cert/X509CertificateHolder;
invokevirtual org.bouncycastle.cert.X509CertificateHolder.getEncoded:()[B
astore 1
start local 1 1: aload 0
getfield org.bouncycastle.cert.dane.DANEEntry.flags:[B
arraylength
aload 1
arraylength
iadd
newarray 8
astore 2
start local 2 2: aload 0
getfield org.bouncycastle.cert.dane.DANEEntry.flags:[B
iconst_0
aload 2
iconst_0
aload 0
getfield org.bouncycastle.cert.dane.DANEEntry.flags:[B
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
3: aload 1
iconst_0
aload 2
aload 0
getfield org.bouncycastle.cert.dane.DANEEntry.flags:[B
arraylength
aload 1
arraylength
invokestatic java.lang.System.arraycopy:(Ljava/lang/Object;ILjava/lang/Object;II)V
4: aload 2
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 5 0 this Lorg/bouncycastle/cert/dane/DANEEntry;
1 5 1 certEnc [B
2 5 2 data [B
Exceptions:
throws java.io.IOException
public static boolean isValidCertificate(byte[]);
descriptor: ([B)Z
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
iconst_0
baload
ifge 1
aload 0
iconst_0
baload
iconst_3
if_icmpgt 2
StackMap locals:
StackMap stack:
1: aload 0
iconst_1
baload
ifne 2
aload 0
iconst_2
baload
ifne 2
iconst_1
ireturn
StackMap locals:
StackMap stack:
2: iconst_0
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 data [B
MethodParameters:
Name Flags
data
}
SourceFile: "DANEEntry.java"