public class org.bouncycastle.cert.ocsp.RespID
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.cert.ocsp.RespID
super_class: java.lang.Object
{
public static final org.bouncycastle.asn1.x509.AlgorithmIdentifier HASH_SHA1;
descriptor: Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
org.bouncycastle.asn1.ocsp.ResponderID id;
descriptor: Lorg/bouncycastle/asn1/ocsp/ResponderID;
flags: (0x0000)
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=4, locals=0, args_size=0
0: new org.bouncycastle.asn1.x509.AlgorithmIdentifier
dup
getstatic org.bouncycastle.asn1.oiw.OIWObjectIdentifiers.idSHA1:Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
getstatic org.bouncycastle.asn1.DERNull.INSTANCE:Lorg/bouncycastle/asn1/DERNull;
invokespecial org.bouncycastle.asn1.x509.AlgorithmIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;Lorg/bouncycastle/asn1/ASN1Encodable;)V
putstatic org.bouncycastle.cert.ocsp.RespID.HASH_SHA1:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
return
LocalVariableTable:
Start End Slot Name Signature
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.cert.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/cert/ocsp/RespID;
0 3 1 id Lorg/bouncycastle/asn1/ocsp/ResponderID;
MethodParameters:
Name Flags
id
public void <init>(org.bouncycastle.asn1.x500.X500Name);
descriptor: (Lorg/bouncycastle/asn1/x500/X500Name;)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
invokespecial org.bouncycastle.asn1.ocsp.ResponderID.<init>:(Lorg/bouncycastle/asn1/x500/X500Name;)V
putfield org.bouncycastle.cert.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/cert/ocsp/RespID;
0 3 1 name Lorg/bouncycastle/asn1/x500/X500Name;
MethodParameters:
Name Flags
name
public void <init>(org.bouncycastle.asn1.x509.SubjectPublicKeyInfo, org.bouncycastle.operator.DigestCalculator);
descriptor: (Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;Lorg/bouncycastle/operator/DigestCalculator;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=6, locals=4, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 2
invokeinterface org.bouncycastle.operator.DigestCalculator.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
getstatic org.bouncycastle.cert.ocsp.RespID.HASH_SHA1:Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.equals:(Ljava/lang/Object;)Z
ifne 3
2: new java.lang.IllegalArgumentException
dup
new java.lang.StringBuilder
dup
ldc "only SHA-1 can be used with RespID - found: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 2
invokeinterface org.bouncycastle.operator.DigestCalculator.getAlgorithmIdentifier:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
athrow
3: StackMap locals: org.bouncycastle.cert.ocsp.RespID org.bouncycastle.asn1.x509.SubjectPublicKeyInfo org.bouncycastle.operator.DigestCalculator
StackMap stack:
aload 2
invokeinterface org.bouncycastle.operator.DigestCalculator.getOutputStream:()Ljava/io/OutputStream;
astore 3
start local 3 4: aload 3
aload 1
invokevirtual org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getPublicKeyData:()Lorg/bouncycastle/asn1/DERBitString;
invokevirtual org.bouncycastle.asn1.DERBitString.getBytes:()[B
invokevirtual java.io.OutputStream.write:([B)V
5: aload 3
invokevirtual java.io.OutputStream.close:()V
6: aload 0
new org.bouncycastle.asn1.ocsp.ResponderID
dup
new org.bouncycastle.asn1.DEROctetString
dup
aload 2
invokeinterface org.bouncycastle.operator.DigestCalculator.getDigest:()[B
invokespecial org.bouncycastle.asn1.DEROctetString.<init>:([B)V
invokespecial org.bouncycastle.asn1.ocsp.ResponderID.<init>:(Lorg/bouncycastle/asn1/ASN1OctetString;)V
putfield org.bouncycastle.cert.ocsp.RespID.id:Lorg/bouncycastle/asn1/ocsp/ResponderID;
end local 3 7: goto 10
8: StackMap locals:
StackMap stack: java.lang.Exception
astore 3
start local 3 9: new org.bouncycastle.cert.ocsp.OCSPException
dup
new java.lang.StringBuilder
dup
ldc "problem creating ID: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 3
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
aload 3
invokespecial org.bouncycastle.cert.ocsp.OCSPException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
athrow
end local 3 10: StackMap locals:
StackMap stack:
return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lorg/bouncycastle/cert/ocsp/RespID;
0 11 1 subjectPublicKeyInfo Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
0 11 2 digCalc Lorg/bouncycastle/operator/DigestCalculator;
4 7 3 digOut Ljava/io/OutputStream;
9 10 3 e Ljava/lang/Exception;
Exception table:
from to target type
1 7 8 Class java.lang.Exception
Exceptions:
throws org.bouncycastle.cert.ocsp.OCSPException
MethodParameters:
Name Flags
subjectPublicKeyInfo
digCalc
public org.bouncycastle.asn1.ocsp.ResponderID toASN1Primitive();
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.cert.ocsp.RespID.id:Lorg/bouncycastle/asn1/ocsp/ResponderID;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/cert/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.cert.ocsp.RespID
ifne 2
1: iconst_0
ireturn
2: StackMap locals:
StackMap stack:
aload 1
checkcast org.bouncycastle.cert.ocsp.RespID
astore 2
start local 2 3: aload 0
getfield org.bouncycastle.cert.ocsp.RespID.id:Lorg/bouncycastle/asn1/ocsp/ResponderID;
aload 2
getfield org.bouncycastle.cert.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/cert/ocsp/RespID;
0 4 1 o Ljava/lang/Object;
3 4 2 obj Lorg/bouncycastle/cert/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.cert.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/cert/ocsp/RespID;
}
SourceFile: "RespID.java"