Home
last modified time | relevance | path

Searched refs:certPem (Results 1 – 6 of 6) sorted by relevance

/third_party/node/test/parallel/
Dtest-crypto-sign-verify.js14 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 …]
Dtest-crypto-x509.js207 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);
Dtest-crypto-verify-failure.js32 const certPem = fixtures.readKey('rsa_cert.crt'); constant
51 .verify(certPem, 'asdfasdfas', 'base64');
Dtest-crypto-binary-default.js43 const certPem = fixtures.readKey('rsa_cert.crt'); constant
439 .verify(certPem, s1, 'base64');
448 .verify(certPem, s2); // binary
457 .verify(certPem, s3);
Dtest-crypto-rsa-dsa-revert.js15 const certPem = fixtures.readKey('rsa_cert.crt'); constant
168 encryptedBuffer = crypto.publicEncrypt(certPem, bufferToEncrypt);
Dtest-crypto-rsa-dsa.js14 const certPem = fixtures.readKey('rsa_cert.crt'); constant
167 encryptedBuffer = crypto.publicEncrypt(certPem, bufferToEncrypt);