mirror of
https://github.com/bitcoin/bips.git
synced 2025-02-24 15:36:53 +01:00
media wiki format
This commit is contained in:
parent
6a181756e4
commit
95db88b5e8
1 changed files with 2 additions and 2 deletions
|
@ -64,7 +64,7 @@ To verify a signature, the recId is obtained by subtracting this constant from t
|
||||||
|
|
||||||
Note: this code is a modification of the BitcoinJ code which is written in java.
|
Note: this code is a modification of the BitcoinJ code which is written in java.
|
||||||
|
|
||||||
```
|
<nowiki>
|
||||||
public static ECKey signedMessageToKey(String message, String signatureBase64) throws SignatureException {
|
public static ECKey signedMessageToKey(String message, String signatureBase64) throws SignatureException {
|
||||||
byte[] signatureEncoded;
|
byte[] signatureEncoded;
|
||||||
try {
|
try {
|
||||||
|
@ -113,7 +113,7 @@ Note: this code is a modification of the BitcoinJ code which is written in java.
|
||||||
throw new SignatureException("Could not recover public key from signature");
|
throw new SignatureException("Could not recover public key from signature");
|
||||||
return key;
|
return key;
|
||||||
}
|
}
|
||||||
```
|
</nowiki>
|
||||||
|
|
||||||
==Backwards Compatibility==
|
==Backwards Compatibility==
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue