Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type URI ¶
URI implements a parser for a URI format based on the the PKCS #11 URI Scheme defined in https://tools.ietf.org/html/rfc7512
These URIs will be used to define the key names in a KMS.
func ParseWithScheme ¶
ParseWithScheme returns the URI for the given string only if it has the given scheme.
func (*URI) Get ¶
Get returns the first value in the uri with the given key, it will return empty string if that field is not present.
func (*URI) GetEncoded ¶ added in v0.15.7
GetEncoded returns the first value in the uri with the given key, it will return empty nil if that field is not present or is empty. If the return value is hex encoded it will decode it and return it.
Click to show internal directories.
Click to hide internal directories.