Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPubKeyType ¶
GetPubKeyType does a type-assertaion on the supplied crypto public key and returns it's x509.PublicKeyAlgorithm in string format
func MarshalBytes ¶
MarshalBytes encodes arbitrary Go objects to a byte array
func UnmarshalBytes ¶
UnmarshalBytes takes a byte array and decodes it into a Go object
Types ¶
type ECCPublicKey ¶
ECCPublicKey is the bare minimum data needed for an ECC public key. The standard public key structs have more data than is usable when marshaling.
type ECCSignature ¶
ECCSignature is the bare minimum of ECC signatures needed. The standard ECC signature structs available in other tools and libraries include fields we can't include when marshaling.
Click to show internal directories.
Click to hide internal directories.