WebPKI Demonstration

Sign data

Performs an RSA signature of an arbitrary byte sequence.

> Signature with RSA SHA-256_

Do not have a certificate? Click Here to issue a test one.

Signature Data

Signature {{signature}}

Valid {{valid}}

> Code sample_

var dataToSign = 'SGVsbG8gV29ybGQh'; // Base64-encoded 'Hello World!'
pki.signData({
    thumbprint: $('#certificateSelect').val(),
    data: dataToSign,
    digestAlgorithm: 'SHA-256'
}).success(function (signature) {                                     
    // Use signature
});