Questions tagged [rsa-sha256]
56 questions
1
vote
1 answer
How to hash256 and digitally sign (with a private key) a string in Powershell
Using openssl I generated a private key (let's say httpCert.key) and a self signed certificate. Now, I have a string which I want to hash256, digitally sign with my private key i.e. httpCert.key and do a base64 encoding.
I can do this all in bash…

aashleo
- 63
- 1
- 5
1
vote
0 answers
PHP OAuth 2.0 JWT Bearer Token Flow
I am trying to obtain a JWT Bearer Token from Salesforce.
I am trying to follow their documentation but am however unsuccessful.
https://help.salesforce.com/articleView?id=remoteaccess_oauth_jwt_flow.htm&type=5
The return i am getting is…

Dan C
- 61
- 6
1
vote
1 answer
Digital Signature Verification failed using SHA256withRSA in Python
I am trying to validate the digital signature with given certificate files for the offline aadhaar KYC verification application.
This instruction is given in the documentation for the verification.
Aadhaar Paperless Offline e-KYC when downloaded…

Chinmay Das
- 400
- 6
- 18
1
vote
0 answers
Unable to validate SHA 256 Xml Signature using Java
I Have one xml which is signed by following signinfo
XML

Mohit Thakral
- 11
- 5
1
vote
1 answer
How do I decrypt and verify a signature signed with SHA256withRSA standard?
So the problem I'm facing is that I'm making a request to a server, and the server is responding via webhooks -> this notification can take a while to come back. This is why every time I get a response, I need to verify the signature sent in the…

Kristijan Mirčeta
- 103
- 1
- 12
1
vote
0 answers
AMP update-cache request returns 403
I am trying to implement Google AMP update-cache request using this documentation.
My implementation
As suggested in the tutorial, firstly I get the cache information from https://cdn.ampproject.org/caches.json and then I iterate through these…

Adam Kučera
- 424
- 5
- 15
1
vote
2 answers
I have several questions about the SslStream Class and about certificates
I have looked at about 10-15 different pages about the SSlStream class and about certificates and I haven't found one that completely explains everything to me. So I have a bunch of questions.
I am currently working on some SslStream code and I…

ashlar64
- 1,054
- 1
- 9
- 24
1
vote
1 answer
Verifying after signing using jsrsasign is not working
I have an html file to test signing and verification using the jsrsasign library. I use a 2048 RSA key to sign a string. Then I turn around and verify the signature. Here is my code:
// initialize
var hex = "48656c6c6f20776f726c6421"; // "Hello…

Colin
- 331
- 3
- 19
1
vote
2 answers
Paypal certificate upgrade to sha256
Paypal has updated its sandbox API endpoint and certificate to use sha256 instead of sha1.
To migrate my application (which connects to paypal for express checkout) to use sha256,
a) Deleted and downloaded new certificate from my paypal account and…

cooldev
- 497
- 1
- 3
- 17
0
votes
0 answers
Generating same fingerprints across renewal
If we need to have the same sha 256 hash on renewal for our ssl certificate, is it possible ? if yes what are the steps ?
because based on my research I found out that Changing the expiry date of a certificate will indeed result in a different…

TahirRaza
- 81
- 8
0
votes
0 answers
How to create RSA SHA 256 SignatureEncryption and SymmetricKeyEncryption with ASP.NET VB.Net
I have to do Payment Integration with bank where my account will be debited and vendor's account will be credited. for that Bank need RequestsignatureEncryptedValue and SymmetricKeyEncryptedValue
RSA SHA 256 -> payload -> Clients private key ->…
0
votes
1 answer
W3C RSA-SHA256 algorithm cannot be used, unsupported algorithm
Is anyone also having trouble with the W3C RSA-SHA256 algorithm to sign XML ?
I'm using it to do a XML Digital Signature but I'm not able to use it since the page has been moved, see:
https://www.w3.org/2001/04/xmldsig-more#rsa-sha256
I'm forced to…

Daftus
- 21
- 5
0
votes
0 answers
Uncaught Error: Class 'phpseclib\phpseclib\Crypt\RSA' not found
When tring to use/import the phpseclib RSA class unable to find out the class, could you help me please.
`
require "/vendor/autoload.php";
use phpseclib\Crypt\RSA;
// INPUT DATA
$privkey = "..."; // I used a RSA private key in PEM format,…

Ebsa Teklu
- 29
- 2
0
votes
0 answers
How to generate hash of a file using certificate information and sha-256
Is it possible to generate hash of a file using certificate information?
I have certificate details like this
"details": {
"certificate": "XIIHBTCCBO2gAwIBAgIQGuE3Q0ztnKRiYRN.....",
"public_key":…

Aathira
- 655
- 3
- 14
- 31
0
votes
0 answers
PostgreSQL RSA-SHA256 password checking
I have a node js app which stores passwords into a PostgreSQL database (Sequelize ORM) according to the function setSaltAndPassword detailed below
const crypto = require("crypto");
User.generateSalt = function() {
return…

njasi
- 21
- 1
- 4