diff --git a/ast/builtins.go b/ast/builtins.go index 0fe347efb7..723052f3db 100644 --- a/ast/builtins.go +++ b/ast/builtins.go @@ -2341,14 +2341,14 @@ with all others being treated as intermediates. ` + "Example option object: " + "`options := {\"DNSName\" : \"example.dns.com\", \"CurrentTime\": 1708447636000000000,`" + - "`\"KeyUsages\": {\"KeyUsageServerAuth\", \"KeyUsageClientAuth\", \"KeyUsageCodeSigning\"}}`" + - "Then this function call will look like: `crypto.x509.parse_and_verify_certificates_with_options(, options)`" + - "This options object has the same fields as [x509.VerifyOptions struct](https://pkg.go.dev/crypto/x509#VerifyOptions)" + - "`CurrentTime` is the number of nanoseconds since the Unix Epoch as a number" + - "List of possible values for `KeyUsages` field are: `[\"KeyUsageAny\", \"KeyUsageServerAuth\",`" + - "`\"KeyUsageClientAuth\", \"KeyUsageCodeSigning\", \"KeyUsageEmailProtection\", \"KeyUsageIPSECEndSystem\",`" + - "`\"KeyUsageIPSECTunnel\", \"KeyUsageIPSECUser\", \"KeyUsageTimeStamping\", \"KeyUsageOCSPSigning\",`" + - "`\"KeyUsageMicrosoftServerGatedCrypto\", \"KeyUsageNetscapeServerGatedCrypto\",`" + + "`\"KeyUsages\": {\"KeyUsageServerAuth\", \"KeyUsageClientAuth\", \"KeyUsageCodeSigning\"}}` " + + "Then this function call will look like: `crypto.x509.parse_and_verify_certificates_with_options(, options)`. " + + "This options object has the same fields as [x509.VerifyOptions struct](https://pkg.go.dev/crypto/x509#VerifyOptions). " + + "`CurrentTime` is the number of nanoseconds since the Unix Epoch as a number. " + + "List of possible values for `KeyUsages` field are: `[\"KeyUsageAny\", \"KeyUsageServerAuth\",` " + + "`\"KeyUsageClientAuth\", \"KeyUsageCodeSigning\", \"KeyUsageEmailProtection\", \"KeyUsageIPSECEndSystem\",` " + + "`\"KeyUsageIPSECTunnel\", \"KeyUsageIPSECUser\", \"KeyUsageTimeStamping\", \"KeyUsageOCSPSigning\",` " + + "`\"KeyUsageMicrosoftServerGatedCrypto\", \"KeyUsageNetscapeServerGatedCrypto\",` " + "`\"KeyUsageMicrosoftCommercialCodeSigning\", \"KeyUsageMicrosoftKernelCodeSigning\"]`", Decl: types.NewFunction(