public final class sun.security.provider.certpath.OCSPNonceExtension extends sun.security.x509.Extension
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: sun.security.provider.certpath.OCSPNonceExtension
super_class: sun.security.x509.Extension
{
private static final java.lang.String EXTENSION_NAME;
descriptor: Ljava/lang/String;
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
ConstantValue: "OCSPNonce"
private byte[] nonceData;
descriptor: [B
flags: (0x0002) ACC_PRIVATE
public void <init>(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
iload 1
invokespecial sun.security.provider.certpath.OCSPNonceExtension.<init>:(ZI)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/provider/certpath/OCSPNonceExtension;
0 2 1 length I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
length
public void <init>(boolean, int);
descriptor: (ZI)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial sun.security.x509.Extension.<init>:()V
1: aload 0
aconst_null
putfield sun.security.provider.certpath.OCSPNonceExtension.nonceData:[B
2: aload 0
getstatic sun.security.x509.PKIXExtensions.OCSPNonce_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.provider.certpath.OCSPNonceExtension.extensionId:Lsun/security/util/ObjectIdentifier;
3: aload 0
iload 1
putfield sun.security.provider.certpath.OCSPNonceExtension.critical:Z
4: iload 2
ifle 12
5: new java.security.SecureRandom
dup
invokespecial java.security.SecureRandom.<init>:()V
astore 3
start local 3 6: aload 0
iload 2
newarray 8
putfield sun.security.provider.certpath.OCSPNonceExtension.nonceData:[B
7: aload 3
aload 0
getfield sun.security.provider.certpath.OCSPNonceExtension.nonceData:[B
invokevirtual java.security.SecureRandom.nextBytes:([B)V
8: aload 0
new sun.security.util.DerValue
dup
iconst_4
9: aload 0
getfield sun.security.provider.certpath.OCSPNonceExtension.nonceData:[B
invokespecial sun.security.util.DerValue.<init>:(B[B)V
invokevirtual sun.security.util.DerValue.toByteArray:()[B
10: putfield sun.security.provider.certpath.OCSPNonceExtension.extensionValue:[B
end local 3 11: goto 15
12: StackMap locals: sun.security.provider.certpath.OCSPNonceExtension int int
StackMap stack:
new java.lang.IllegalArgumentException
dup
13: ldc "Length must be a positive integer"
14: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
15: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 16 0 this Lsun/security/provider/certpath/OCSPNonceExtension;
0 16 1 isCritical Z
0 16 2 length I
6 11 3 rng Ljava/security/SecureRandom;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
isCritical
length
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
iconst_0
aload 1
invokespecial sun.security.provider.certpath.OCSPNonceExtension.<init>:(Z[B)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lsun/security/provider/certpath/OCSPNonceExtension;
0 2 1 incomingNonce [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
incomingNonce
public void <init>(boolean, byte[]);
descriptor: (Z[B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial sun.security.x509.Extension.<init>:()V
1: aload 0
aconst_null
putfield sun.security.provider.certpath.OCSPNonceExtension.nonceData:[B
2: aload 0
getstatic sun.security.x509.PKIXExtensions.OCSPNonce_Id:Lsun/security/util/ObjectIdentifier;
putfield sun.security.provider.certpath.OCSPNonceExtension.extensionId:Lsun/security/util/ObjectIdentifier;
3: aload 0
iload 1
putfield sun.security.provider.certpath.OCSPNonceExtension.critical:Z
4: aload 2
ldc "Nonce data must be non-null"
invokestatic java.util.Objects.requireNonNull:(Ljava/lang/Object;Ljava/lang/String;)Ljava/lang/Object;
pop
5: aload 2
arraylength
ifle 11
6: aload 0
aload 2
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
putfield sun.security.provider.certpath.OCSPNonceExtension.nonceData:[B
7: aload 0
new sun.security.util.DerValue
dup
iconst_4
8: aload 0
getfield sun.security.provider.certpath.OCSPNonceExtension.nonceData:[B
invokespecial sun.security.util.DerValue.<init>:(B[B)V
invokevirtual sun.security.util.DerValue.toByteArray:()[B
9: putfield sun.security.provider.certpath.OCSPNonceExtension.extensionValue:[B
10: goto 14
11: StackMap locals: sun.security.provider.certpath.OCSPNonceExtension int byte[]
StackMap stack:
new java.lang.IllegalArgumentException
dup
12: ldc "Nonce data must be at least 1 byte in length"
13: invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
14: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 15 0 this Lsun/security/provider/certpath/OCSPNonceExtension;
0 15 1 isCritical Z
0 15 2 incomingNonce [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
isCritical
incomingNonce
public byte[] getNonceValue();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield sun.security.provider.certpath.OCSPNonceExtension.nonceData:[B
invokevirtual byte[].clone:()Ljava/lang/Object;
checkcast byte[]
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/certpath/OCSPNonceExtension;
public java.lang.String toString();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: new java.lang.StringBuilder
dup
invokespecial java.lang.StringBuilder.<init>:()V
astore 1
start local 1 1: aload 1
aload 0
invokespecial sun.security.x509.Extension.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc "OCSPNonce"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ": "
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
2: aload 1
aload 0
getfield sun.security.provider.certpath.OCSPNonceExtension.nonceData:[B
ifnonnull 3
ldc ""
goto 4
StackMap locals: sun.security.provider.certpath.OCSPNonceExtension java.lang.StringBuilder
StackMap stack: java.lang.StringBuilder
3: aload 0
getfield sun.security.provider.certpath.OCSPNonceExtension.nonceData:[B
invokestatic sun.security.util.Debug.toString:([B)Ljava/lang/String;
StackMap locals: sun.security.provider.certpath.OCSPNonceExtension java.lang.StringBuilder
StackMap stack: java.lang.StringBuilder java.lang.String
4: invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
5: aload 1
ldc "\n"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
pop
6: aload 1
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 7 0 this Lsun/security/provider/certpath/OCSPNonceExtension;
1 7 1 sb Ljava/lang/StringBuilder;
public java.lang.String getName();
descriptor: ()Ljava/lang/String;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: ldc "OCSPNonce"
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/security/provider/certpath/OCSPNonceExtension;
}
SourceFile: "OCSPNonceExtension.java"