package
0.0.0-20210323133832-9b092e489435
Repository: https://github.com/ibm-developer/ibm-cloud-hyperprotectcrypto.git
Documentation: pkg.go.dev

# Functions

Convert returns a formatted GREP11 error message The contents of the error message depend on the source of the error.
DumpAttributes converts an Attribute slice into a string of Attributes.
GetNamedCurveFromOID returns an elliptic curve from the specified curve OID.
GetPubKey converts an ep11 SPKI structure to a golang ecdsa.PublicKey.
GetPubkeyBytesFromSPKI extracts a coordinate bit array from the public key in SPKI format.
NewAttribute is a convenience function to make conversions to []C.CK_ATTRIBUTE more convenient.
NewAttributeMap creates a map of ep11 attributes.
NewAttributeValue converts a Golang-based attribute type to a C-based attribute type.
NewEP11Signer is used in the creation of a TLS certificate.

# Variables

The following variables are standardized elliptic curve definitions.
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

EP11PrivateKey MUST implement crypto.Signer interface so that the crypt/tls package can use an EP11PrivateKey in tls.Certificate: https://golang.org/pkg/crypto/tls/#Certificate.
IAMPerRPCCredentials type defines the fields required for IBM Cloud IAM authentication This type implements the GRPC PerRPCCredentials interface.