Documentation ¶
Overview ¶
Package publickeyinfo provides en: structure of the public key representation in the asn.1, methods for this structure
and the decoding function from DER
ru: структуру представления публичного ключа в asn.1, методы для этой структуры
и функцию декодирования из DER
asn.1 - Abstract Syntax Notation One (ASN. 1) is a standard interface description language for defining data structures that can be serialized and deserialized in a cross-platform way. It is broadly used in telecommunications and computer networking, and especially in cryptography. https://en.wikipedia.org/wiki/ASN.1
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Container ¶
type Container struct { Raw asn1.RawContent Algorithm pkix.AlgorithmIdentifier PublicKey asn1.BitString }
Container - asn.1 Certificate PublicKey structure RFC5280
func (*Container) GetAlgorithm ¶
func (pki *Container) GetAlgorithm() (publickeyalgorithm.PublicKeyAlgorithm, error)
func (*Container) GetHashFunction ¶
Click to show internal directories.
Click to hide internal directories.