publickeyalgorithm

package
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2022 License: GPL-3.0 Imports: 3 Imported by: 0

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: актуален ли данный алгоритм?

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL