Skip to content

Commit

Permalink
Some changes.
Browse files Browse the repository at this point in the history
Fixes open-policy-agent#5882

Signed-off-by: Yogesh Sinha <sinhayogi@gmail.com>
  • Loading branch information
yogisinha committed Mar 13, 2024
1 parent 3c31aa6 commit 580fa87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ast/builtins.go
Original file line number Diff line number Diff line change
Expand Up @@ -2344,7 +2344,7 @@ with all others being treated as intermediates.`,
types.Named("options", types.NewObject(
nil,
types.NewDynamicProperty(types.S, types.A),
)).Description("object containing extra configs to verify the validity of certificates. `options` object supports four fields which maps to same fields in [x509.VerifyOptions struct](https://pkg.go.dev/crypto/x509#VerifyOptions). `DNSName`, `CurrentTime`: Nanoseconds since the Unix Epoch as a number, `MaxConstraintComparisons` and `KeyUsages`. Possible values for `KeyUsages`: `[\"KeyUsageAny\", \"KeyUsageServerAuth\", \"KeyUsageClientAuth\", \"KeyUsageCodeSigning\", \"KeyUsageEmailProtection\", \"KeyUsageIPSECEndSystem\", \"KeyUsageIPSECTunnel\", \"KeyUsageIPSECUser\", \"KeyUsageTimeStamping\", \"KeyUsageOCSPSigning\", \"KeyUsageMicrosoftServerGatedCrypto\", \"KeyUsageNetscapeServerGatedCrypto\", \"KeyUsageMicrosoftCommercialCodeSigning\", \"KeyUsageMicrosoftKernelCodeSigning\"]`"),
)).Description("object containing extra configs to verify the validity of certificates."),
),
types.Named("output", types.NewArray([]types.Type{
types.B,
Expand Down

0 comments on commit 580fa87

Please sign in to comment.