blob: 154ea8abc63c9bc4c70ed20d6d58e1ddb3f30078 [file] [log] [blame]
This is a testharness.js-based test.
PASS generateCertificate() with compulsary RSASSA-PKCS1-v1_5 parameters should succeed
PASS generateCertificate() with compulsary ECDSA parameters should succeed
PASS generateCertificate() with invalid string algorithm should reject with NotSupportedError
PASS generateCertificate() with invalid algorithm dict should reject with NotSupportedError
PASS generateCertificate() with valid expires parameter should succeed
PASS generateCertificate() with 0 expires parameter should generate expired cert
FAIL generateCertificate() with invalid range for expires should reject with TypeError assert_unreached: Should have rejected: undefined Reached unreachable code
FAIL generateCertificate() with invalid type for expires should reject with TypeError assert_unreached: Should have rejected: undefined Reached unreachable code
Harness: the test ran to completion.