Searched refs:certPem (Results 1 – 6 of 6) sorted by relevance
/third_party/node/test/parallel/ |
D | test-crypto-sign-verify.js | 14 const certPem = fixtures.readKey('rsa_cert.crt'); constant 75 key: certPem, 86 key: certPem, 108 .verify(certPem, s1, 'base64'); 124 .verify(certPem, s2, 'latin1'); 131 verified = verStream.verify(certPem, s2, 'latin1'); 142 .verify(certPem, s3); 149 verified = verStream.verify(certPem, s3); 230 key: certPem, 235 key: certPem, [all …]
|
D | test-crypto-x509.js | 207 const certPem = ` constant 231 const c = new X509Certificate(certPem); 236 const c1 = new X509Certificate(certPem); 241 const c2 = new X509Certificate(certPem); 331 const certPem = `-----BEGIN CERTIFICATE----- constant 354 const cert = new X509Certificate(certPem);
|
D | test-crypto-verify-failure.js | 32 const certPem = fixtures.readKey('rsa_cert.crt'); constant 51 .verify(certPem, 'asdfasdfas', 'base64');
|
D | test-crypto-binary-default.js | 43 const certPem = fixtures.readKey('rsa_cert.crt'); constant 439 .verify(certPem, s1, 'base64'); 448 .verify(certPem, s2); // binary 457 .verify(certPem, s3);
|
D | test-crypto-rsa-dsa-revert.js | 15 const certPem = fixtures.readKey('rsa_cert.crt'); constant 168 encryptedBuffer = crypto.publicEncrypt(certPem, bufferToEncrypt);
|
D | test-crypto-rsa-dsa.js | 14 const certPem = fixtures.readKey('rsa_cert.crt'); constant 167 encryptedBuffer = crypto.publicEncrypt(certPem, bufferToEncrypt);
|