Documentation
¶
Overview ¶
Package x509tools provides various x509 related helper functions that are not found in the standard library.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func KeyUsageExtension ¶
KeyUsageExtension converts the provided x509.KeyUsage bitmask to a pkix.Extension representing those values. Note that the returned Extension alaways has its Critical flag set.
If a non-nil error is returned, it will come from an asn1 marshaling falure and the Extension value should be ignored.
func KeyUsageString ¶
KeyUsageString returns a string representation of the provided KeyUsage value. For KeyUsage values with multiple bit set, the resultant string will contain a pipe-separated list of strings.
Types ¶
Click to show internal directories.
Click to hide internal directories.