Documentation ¶
Overview ¶
Package publickeyalgorithm provides en: a set of constants and functions for working with encryption algorithms for public keys
in relation to the GOST encryption standard
ru: набор констант и функции работы с алгоритмами шифрования для публичных ключей
применительно стандарта шифрования GOST
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PublicKeyAlgorithm ¶
type PublicKeyAlgorithm string
const ( UnknownAlgorithm PublicKeyAlgorithm = "UnknownAlgorithm" RSA PublicKeyAlgorithm = "RSA" DSA PublicKeyAlgorithm = "DSA" RSAPSS PublicKeyAlgorithm = "RSAPSS" ECDSA PublicKeyAlgorithm = "ECDSA" GostR34102001 PublicKeyAlgorithm = "GostR34102001" GostR34102012256 PublicKeyAlgorithm = "GostR34102012256" GostR34102012512 PublicKeyAlgorithm = "GostR34102012512" )
func Get ¶
func Get(oidID oids.ID) (PublicKeyAlgorithm, error)
Get en: get public key algorithm by the corresponding oids.ID const ru: получить алгоритм публичного ключа по соответствующей oids.ID константе
func (PublicKeyAlgorithm) GetFamily ¶
func (a PublicKeyAlgorithm) GetFamily() algorithm.Family
GetFamily en: which family does this algorithm belong to? ru: к какому семейству относится данный алгоритм?
func (PublicKeyAlgorithm) IsActual ¶
func (a PublicKeyAlgorithm) IsActual() bool
IsActual en: is this algorithm actual? ru: актуален ли данный алгоритм?
Click to show internal directories.
Click to hide internal directories.