public class org.bouncycastle.ocsp.RespID
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.ocsp.RespID
super_class: java.lang.Object
{
org.bouncycastle.asn1.ocsp.ResponderID id;
descriptor: Lorg/bouncycastle/asn1/ocsp/ResponderID;
flags: (0x0000)
public void <init>(org.bouncycastle.asn1.ocsp.ResponderID);
descriptor: (Lorg/bouncycastle/asn1/ocsp/ResponderID;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
aload 1
putfield org.bouncycastle.ocsp.RespID.id:Lorg/bouncycastle/asn1/ocsp/ResponderID;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/ocsp/RespID;
0 3 1 id Lorg/bouncycastle/asn1/ocsp/ResponderID;
MethodParameters:
Name Flags
id
public void <init>(javax.security.auth.x500.X500Principal);
descriptor: (Ljavax/security/auth/x500/X500Principal;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new org.bouncycastle.asn1.ocsp.ResponderID
dup
aload 1
invokevirtual javax.security.auth.x500.X500Principal.getEncoded:()[B
invokestatic org.bouncycastle.asn1.x500.X500Name.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x500/X500Name;
invokespecial org.bouncycastle.asn1.ocsp.ResponderID.<init>:(Lorg/bouncycastle/asn1/x500/X500Name;)V
putfield org.bouncycastle.ocsp.RespID.id:Lorg/bouncycastle/asn1/ocsp/ResponderID;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/ocsp/RespID;
0 3 1 name Ljavax/security/auth/x500/X500Principal;
MethodParameters:
Name Flags
name
public void <init>(java.security.PublicKey);
descriptor: (Ljava/security/PublicKey;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=6, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: ldc "SHA1"
aconst_null
invokestatic org.bouncycastle.ocsp.OCSPUtil.createDigestInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/MessageDigest;
astore 2
start local 2 2: new org.bouncycastle.asn1.ASN1InputStream
dup
aload 1
invokeinterface java.security.PublicKey.getEncoded:()[B
invokespecial org.bouncycastle.asn1.ASN1InputStream.<init>:([B)V
astore 3
start local 3 3: aload 3
invokevirtual org.bouncycastle.asn1.ASN1InputStream.readObject:()Lorg/bouncycastle/asn1/DERObject;
invokestatic org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
astore 4
start local 4 4: aload 2
aload 4
invokevirtual org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getPublicKeyData:()Lorg/bouncycastle/asn1/DERBitString;
invokevirtual org.bouncycastle.asn1.DERBitString.getBytes:()[B
invokevirtual java.security.MessageDigest.update:([B)V
5: new org.bouncycastle.asn1.DEROctetString
dup
aload 2
invokevirtual java.security.MessageDigest.digest:()[B
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
astore 5
start local 5 6: aload 0
new org.bouncycastle.asn1.ocsp.ResponderID
dup
aload 5
invokespecial org.bouncycastle.asn1.ocsp.ResponderID.<init>:(Lorg/bouncycastle/asn1/ASN1OctetString;)V
putfield org.bouncycastle.ocsp.RespID.id:Lorg/bouncycastle/asn1/ocsp/ResponderID;
end local 5 end local 4 end local 3 end local 2 7: goto 10
8: StackMap locals: org.bouncycastle.ocsp.RespID java.security.PublicKey
StackMap stack: java.lang.Exception
astore 2
start local 2 9: new org.bouncycastle.ocsp.OCSPException
dup
new java.lang.StringBuilder
dup
ldc "problem creating ID: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 2
invokespecial org.bouncycastle.ocsp.OCSPException.<init>:(Ljava/lang/String;Ljava/lang/Exception;)V
athrow
end local 2 10: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/ocsp/RespID;
0 11 1 key Ljava/security/PublicKey;
2 7 2 digest Ljava/security/MessageDigest;
3 7 3 aIn Lorg/bouncycastle/asn1/ASN1InputStream;
4 7 4 info Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
6 7 5 keyHash Lorg/bouncycastle/asn1/ASN1OctetString;
9 10 2 e Ljava/lang/Exception;
Exception table:
from to target type
1 7 8 Class java.lang.Exception
Exceptions:
throws org.bouncycastle.ocsp.OCSPException
MethodParameters:
Name Flags
key
public org.bouncycastle.asn1.ocsp.ResponderID toASN1Object();
descriptor: ()Lorg/bouncycastle/asn1/ocsp/ResponderID;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.ocsp.RespID.id:Lorg/bouncycastle/asn1/ocsp/ResponderID;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/RespID;
public boolean equals(java.lang.Object);
descriptor: (Ljava/lang/Object;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 1
instanceof org.bouncycastle.ocsp.RespID
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.bouncycastle.ocsp.RespID
astore 2
start local 2 3: aload 0
getfield org.bouncycastle.ocsp.RespID.id:Lorg/bouncycastle/asn1/ocsp/ResponderID;
aload 2
getfield org.bouncycastle.ocsp.RespID.id:Lorg/bouncycastle/asn1/ocsp/ResponderID;
invokevirtual org.bouncycastle.asn1.ocsp.ResponderID.equals:(Ljava/lang/Object;)Z
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/bouncycastle/ocsp/RespID;
0 4 1 o Ljava/lang/Object;
3 4 2 obj Lorg/bouncycastle/ocsp/RespID;
MethodParameters:
Name Flags
o
public int hashCode();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.ocsp.RespID.id:Lorg/bouncycastle/asn1/ocsp/ResponderID;
invokevirtual org.bouncycastle.asn1.ocsp.ResponderID.hashCode:()I
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/ocsp/RespID;
}
SourceFile: "RespID.java"