public class org.bouncycastle.x509.extension.SubjectKeyIdentifierStructure extends org.bouncycastle.asn1.x509.SubjectKeyIdentifier
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.x509.extension.SubjectKeyIdentifierStructure
super_class: org.bouncycastle.asn1.x509.SubjectKeyIdentifier
{
public void <init>(byte[]);
descriptor: ([B)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.bouncycastle.x509.extension.SubjectKeyIdentifierStructure this
start local 1 // byte[] encodedValue
0: .line 27
aload 0 /* this */
aload 1 /* encodedValue */
invokestatic org.bouncycastle.x509.extension.X509ExtensionUtil.fromExtensionValue:([B)Lorg/bouncycastle/asn1/ASN1Object;
checkcast org.bouncycastle.asn1.ASN1OctetString
invokespecial org.bouncycastle.asn1.x509.SubjectKeyIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1OctetString;)V
1: .line 28
return
end local 1 // byte[] encodedValue
end local 0 // org.bouncycastle.x509.extension.SubjectKeyIdentifierStructure this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/x509/extension/SubjectKeyIdentifierStructure;
0 2 1 encodedValue [B
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
encodedValue
private static org.bouncycastle.asn1.ASN1OctetString fromPublicKey(java.security.PublicKey);
descriptor: (Ljava/security/PublicKey;)Lorg/bouncycastle/asn1/ASN1OctetString;
flags: (0x000a) ACC_PRIVATE, ACC_STATIC
Code:
stack=5, locals=2, args_size=1
start local 0 // java.security.PublicKey pubKey
0: .line 36
aload 0 /* pubKey */
invokeinterface java.security.PublicKey.getEncoded:()[B
invokestatic org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
astore 1 /* info */
start local 1 // org.bouncycastle.asn1.x509.SubjectPublicKeyInfo info
1: .line 38
new org.bouncycastle.asn1.x509.SubjectKeyIdentifier
dup
aload 1 /* info */
invokespecial org.bouncycastle.asn1.x509.SubjectKeyIdentifier.<init>:(Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;)V
invokevirtual org.bouncycastle.asn1.x509.SubjectKeyIdentifier.toASN1Object:()Lorg/bouncycastle/asn1/DERObject;
checkcast org.bouncycastle.asn1.ASN1OctetString
2: areturn
end local 1 // org.bouncycastle.asn1.x509.SubjectPublicKeyInfo info
3: .line 40
StackMap locals:
StackMap stack: java.lang.Exception
astore 1 /* e */
start local 1 // java.lang.Exception e
4: .line 42
new java.security.InvalidKeyException
dup
new java.lang.StringBuilder
dup
ldc "Exception extracting key details: "
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1 /* e */
invokevirtual java.lang.Exception.toString:()Ljava/lang/String;
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
end local 1 // java.lang.Exception e
end local 0 // java.security.PublicKey pubKey
LocalVariableTable:
Start End Slot Name Signature
0 5 0 pubKey Ljava/security/PublicKey;
1 3 1 info Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
4 5 1 e Ljava/lang/Exception;
Exception table:
from to target type
0 2 3 Class java.lang.Exception
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
pubKey
public void <init>(java.security.PublicKey);
descriptor: (Ljava/security/PublicKey;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 // org.bouncycastle.x509.extension.SubjectKeyIdentifierStructure this
start local 1 // java.security.PublicKey pubKey
0: .line 50
aload 0 /* this */
aload 1 /* pubKey */
invokestatic org.bouncycastle.x509.extension.SubjectKeyIdentifierStructure.fromPublicKey:(Ljava/security/PublicKey;)Lorg/bouncycastle/asn1/ASN1OctetString;
invokespecial org.bouncycastle.asn1.x509.SubjectKeyIdentifier.<init>:(Lorg/bouncycastle/asn1/ASN1OctetString;)V
1: .line 51
return
end local 1 // java.security.PublicKey pubKey
end local 0 // org.bouncycastle.x509.extension.SubjectKeyIdentifierStructure this
LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/bouncycastle/x509/extension/SubjectKeyIdentifierStructure;
0 2 1 pubKey Ljava/security/PublicKey;
Exceptions:
throws java.security.InvalidKeyException
MethodParameters:
Name Flags
pubKey
}
SourceFile: "SubjectKeyIdentifierStructure.java"