public class org.bouncycastle.mozilla.SignedPublicKeyAndChallenge implements org.bouncycastle.util.Encodable
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: org.bouncycastle.mozilla.SignedPublicKeyAndChallenge
super_class: java.lang.Object
{
protected final org.bouncycastle.asn1.mozilla.SignedPublicKeyAndChallenge spkacSeq;
descriptor: Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;
flags: (0x0014) ACC_PROTECTED, ACC_FINAL
public void <init>(byte[]);
descriptor: ([B)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
invokestatic org.bouncycastle.asn1.mozilla.SignedPublicKeyAndChallenge.getInstance:(Ljava/lang/Object;)Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;
putfield org.bouncycastle.mozilla.SignedPublicKeyAndChallenge.spkacSeq:Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/mozilla/SignedPublicKeyAndChallenge;
0 3 1 bytes [B
MethodParameters:
Name Flags
bytes
protected void <init>(org.bouncycastle.asn1.mozilla.SignedPublicKeyAndChallenge);
descriptor: (Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;)V
flags: (0x0004) ACC_PROTECTED
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.mozilla.SignedPublicKeyAndChallenge.spkacSeq:Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/bouncycastle/mozilla/SignedPublicKeyAndChallenge;
0 3 1 struct Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;
MethodParameters:
Name Flags
struct
public org.bouncycastle.asn1.mozilla.SignedPublicKeyAndChallenge toASN1Structure();
descriptor: ()Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.mozilla.SignedPublicKeyAndChallenge.spkacSeq:Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/mozilla/SignedPublicKeyAndChallenge;
public org.bouncycastle.asn1.ASN1Primitive toASN1Primitive();
descriptor: ()Lorg/bouncycastle/asn1/ASN1Primitive;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.mozilla.SignedPublicKeyAndChallenge.spkacSeq:Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;
invokevirtual org.bouncycastle.asn1.mozilla.SignedPublicKeyAndChallenge.toASN1Primitive:()Lorg/bouncycastle/asn1/ASN1Primitive;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/mozilla/SignedPublicKeyAndChallenge;
public org.bouncycastle.asn1.mozilla.PublicKeyAndChallenge getPublicKeyAndChallenge();
descriptor: ()Lorg/bouncycastle/asn1/mozilla/PublicKeyAndChallenge;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.mozilla.SignedPublicKeyAndChallenge.spkacSeq:Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;
invokevirtual org.bouncycastle.asn1.mozilla.SignedPublicKeyAndChallenge.getPublicKeyAndChallenge:()Lorg/bouncycastle/asn1/mozilla/PublicKeyAndChallenge;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/mozilla/SignedPublicKeyAndChallenge;
public boolean isSignatureValid(org.bouncycastle.operator.ContentVerifierProvider);
descriptor: (Lorg/bouncycastle/operator/ContentVerifierProvider;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=5, args_size=2
start local 0 start local 1 0: aload 1
aload 0
getfield org.bouncycastle.mozilla.SignedPublicKeyAndChallenge.spkacSeq:Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;
invokevirtual org.bouncycastle.asn1.mozilla.SignedPublicKeyAndChallenge.getSignatureAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokeinterface org.bouncycastle.operator.ContentVerifierProvider.get:(Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;)Lorg/bouncycastle/operator/ContentVerifier;
astore 2
start local 2 1: aload 2
invokeinterface org.bouncycastle.operator.ContentVerifier.getOutputStream:()Ljava/io/OutputStream;
astore 3
start local 3 2: new org.bouncycastle.asn1.DEROutputStream
dup
aload 3
invokespecial org.bouncycastle.asn1.DEROutputStream.<init>:(Ljava/io/OutputStream;)V
astore 4
start local 4 3: aload 4
aload 0
getfield org.bouncycastle.mozilla.SignedPublicKeyAndChallenge.spkacSeq:Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;
invokevirtual org.bouncycastle.asn1.mozilla.SignedPublicKeyAndChallenge.getPublicKeyAndChallenge:()Lorg/bouncycastle/asn1/mozilla/PublicKeyAndChallenge;
invokevirtual org.bouncycastle.asn1.DEROutputStream.writeObject:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
4: aload 3
invokevirtual java.io.OutputStream.close:()V
5: aload 2
aload 0
getfield org.bouncycastle.mozilla.SignedPublicKeyAndChallenge.spkacSeq:Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;
invokevirtual org.bouncycastle.asn1.mozilla.SignedPublicKeyAndChallenge.getSignature:()Lorg/bouncycastle/asn1/DERBitString;
invokevirtual org.bouncycastle.asn1.DERBitString.getOctets:()[B
invokeinterface org.bouncycastle.operator.ContentVerifier.verify:([B)Z
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/bouncycastle/mozilla/SignedPublicKeyAndChallenge;
0 6 1 verifierProvider Lorg/bouncycastle/operator/ContentVerifierProvider;
1 6 2 verifier Lorg/bouncycastle/operator/ContentVerifier;
2 6 3 sOut Ljava/io/OutputStream;
3 6 4 dOut Lorg/bouncycastle/asn1/DEROutputStream;
Exceptions:
throws org.bouncycastle.operator.OperatorCreationException, java.io.IOException
MethodParameters:
Name Flags
verifierProvider
public boolean verify();
descriptor: ()Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
aconst_null
invokevirtual org.bouncycastle.mozilla.SignedPublicKeyAndChallenge.verify:(Ljava/lang/String;)Z
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/mozilla/SignedPublicKeyAndChallenge;
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.SignatureException, java.security.NoSuchProviderException, java.security.InvalidKeyException
public boolean verify(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=4, args_size=2
start local 0 start local 1 0: aconst_null
astore 2
start local 2 1: aload 1
ifnonnull 4
2: aload 0
getfield org.bouncycastle.mozilla.SignedPublicKeyAndChallenge.spkacSeq:Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;
invokevirtual org.bouncycastle.asn1.mozilla.SignedPublicKeyAndChallenge.getSignatureAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.getId:()Ljava/lang/String;
invokestatic java.security.Signature.getInstance:(Ljava/lang/String;)Ljava/security/Signature;
astore 2
3: goto 5
4: StackMap locals: java.security.Signature
StackMap stack:
aload 0
getfield org.bouncycastle.mozilla.SignedPublicKeyAndChallenge.spkacSeq:Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;
invokevirtual org.bouncycastle.asn1.mozilla.SignedPublicKeyAndChallenge.getSignatureAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.getId:()Ljava/lang/String;
aload 1
invokestatic java.security.Signature.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/Signature;
astore 2
5: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.bouncycastle.mozilla.SignedPublicKeyAndChallenge.getPublicKey:(Ljava/lang/String;)Ljava/security/PublicKey;
astore 3
start local 3 6: aload 2
aload 3
invokevirtual java.security.Signature.initVerify:(Ljava/security/PublicKey;)V
7: aload 2
aload 0
getfield org.bouncycastle.mozilla.SignedPublicKeyAndChallenge.spkacSeq:Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;
invokevirtual org.bouncycastle.asn1.mozilla.SignedPublicKeyAndChallenge.getPublicKeyAndChallenge:()Lorg/bouncycastle/asn1/mozilla/PublicKeyAndChallenge;
invokevirtual org.bouncycastle.asn1.mozilla.PublicKeyAndChallenge.getEncoded:()[B
invokevirtual java.security.Signature.update:([B)V
8: aload 2
aload 0
getfield org.bouncycastle.mozilla.SignedPublicKeyAndChallenge.spkacSeq:Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;
invokevirtual org.bouncycastle.asn1.mozilla.SignedPublicKeyAndChallenge.getSignature:()Lorg/bouncycastle/asn1/DERBitString;
invokevirtual org.bouncycastle.asn1.DERBitString.getBytes:()[B
invokevirtual java.security.Signature.verify:([B)Z
9: ireturn
10: StackMap locals: org.bouncycastle.mozilla.SignedPublicKeyAndChallenge java.lang.String java.security.Signature java.security.PublicKey
StackMap stack: java.lang.Exception
pop
11: new java.security.InvalidKeyException
dup
ldc "error encoding public key"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 12 0 this Lorg/bouncycastle/mozilla/SignedPublicKeyAndChallenge;
0 12 1 provider Ljava/lang/String;
1 12 2 sig Ljava/security/Signature;
6 12 3 pubKey Ljava/security/PublicKey;
Exception table:
from to target type
7 9 10 Class java.lang.Exception
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.SignatureException, java.security.NoSuchProviderException, java.security.InvalidKeyException
MethodParameters:
Name Flags
provider
public org.bouncycastle.asn1.x509.SubjectPublicKeyInfo getSubjectPublicKeyInfo();
descriptor: ()Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.bouncycastle.mozilla.SignedPublicKeyAndChallenge.spkacSeq:Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;
invokevirtual org.bouncycastle.asn1.mozilla.SignedPublicKeyAndChallenge.getPublicKeyAndChallenge:()Lorg/bouncycastle/asn1/mozilla/PublicKeyAndChallenge;
invokevirtual org.bouncycastle.asn1.mozilla.PublicKeyAndChallenge.getSubjectPublicKeyInfo:()Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/mozilla/SignedPublicKeyAndChallenge;
public java.lang.String getChallenge();
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.mozilla.SignedPublicKeyAndChallenge.spkacSeq:Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;
invokevirtual org.bouncycastle.asn1.mozilla.SignedPublicKeyAndChallenge.getPublicKeyAndChallenge:()Lorg/bouncycastle/asn1/mozilla/PublicKeyAndChallenge;
invokevirtual org.bouncycastle.asn1.mozilla.PublicKeyAndChallenge.getChallenge:()Lorg/bouncycastle/asn1/DERIA5String;
invokevirtual org.bouncycastle.asn1.DERIA5String.getString:()Ljava/lang/String;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/mozilla/SignedPublicKeyAndChallenge;
public java.security.PublicKey getPublicKey(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/security/PublicKey;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=7, args_size=2
start local 0 start local 1 0: aload 0
getfield org.bouncycastle.mozilla.SignedPublicKeyAndChallenge.spkacSeq:Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;
invokevirtual org.bouncycastle.asn1.mozilla.SignedPublicKeyAndChallenge.getPublicKeyAndChallenge:()Lorg/bouncycastle/asn1/mozilla/PublicKeyAndChallenge;
invokevirtual org.bouncycastle.asn1.mozilla.PublicKeyAndChallenge.getSubjectPublicKeyInfo:()Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
astore 2
start local 2 1: new org.bouncycastle.asn1.DERBitString
dup
aload 2
invokespecial org.bouncycastle.asn1.DERBitString.<init>:(Lorg/bouncycastle/asn1/ASN1Encodable;)V
astore 3
start local 3 2: new java.security.spec.X509EncodedKeySpec
dup
aload 3
invokevirtual org.bouncycastle.asn1.DERBitString.getOctets:()[B
invokespecial java.security.spec.X509EncodedKeySpec.<init>:([B)V
astore 4
start local 4 3: aload 2
invokevirtual org.bouncycastle.asn1.x509.SubjectPublicKeyInfo.getAlgorithm:()Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
astore 5
start local 5 4: aload 5
invokevirtual org.bouncycastle.asn1.x509.AlgorithmIdentifier.getAlgorithm:()Lorg/bouncycastle/asn1/ASN1ObjectIdentifier;
invokevirtual org.bouncycastle.asn1.ASN1ObjectIdentifier.getId:()Ljava/lang/String;
aload 1
invokestatic java.security.KeyFactory.getInstance:(Ljava/lang/String;Ljava/lang/String;)Ljava/security/KeyFactory;
5: astore 6
start local 6 6: aload 6
aload 4
invokevirtual java.security.KeyFactory.generatePublic:(Ljava/security/spec/KeySpec;)Ljava/security/PublicKey;
7: areturn
end local 6 end local 5 end local 4 end local 3 8: StackMap locals: org.bouncycastle.mozilla.SignedPublicKeyAndChallenge java.lang.String org.bouncycastle.asn1.x509.SubjectPublicKeyInfo
StackMap stack: java.lang.Exception
pop
9: new java.security.InvalidKeyException
dup
ldc "error encoding public key"
invokespecial java.security.InvalidKeyException.<init>:(Ljava/lang/String;)V
athrow
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 10 0 this Lorg/bouncycastle/mozilla/SignedPublicKeyAndChallenge;
0 10 1 provider Ljava/lang/String;
1 10 2 subjectPKInfo Lorg/bouncycastle/asn1/x509/SubjectPublicKeyInfo;
2 8 3 bStr Lorg/bouncycastle/asn1/DERBitString;
3 8 4 xspec Ljava/security/spec/X509EncodedKeySpec;
4 8 5 keyAlg Lorg/bouncycastle/asn1/x509/AlgorithmIdentifier;
6 8 6 factory Ljava/security/KeyFactory;
Exception table:
from to target type
1 7 8 Class java.lang.Exception
Exceptions:
throws java.security.NoSuchAlgorithmException, java.security.NoSuchProviderException, java.security.InvalidKeyException
MethodParameters:
Name Flags
provider
public byte[] getEncoded();
descriptor: ()[B
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual org.bouncycastle.mozilla.SignedPublicKeyAndChallenge.toASN1Structure:()Lorg/bouncycastle/asn1/mozilla/SignedPublicKeyAndChallenge;
invokevirtual org.bouncycastle.asn1.mozilla.SignedPublicKeyAndChallenge.getEncoded:()[B
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/bouncycastle/mozilla/SignedPublicKeyAndChallenge;
Exceptions:
throws java.io.IOException
}
SourceFile: "SignedPublicKeyAndChallenge.java"