signaturealgorithm

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: 5 Imported by: 0

Documentation

Overview

Package signaturealgorithm provides en: a set of constants and functions for working with encryption algorithms for signatures

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 SignatureAlgorithm

type SignatureAlgorithm struct {
	Name               string
	PublicKeyAlgorithm publickeyalgorithm.PublicKeyAlgorithm
	Hash               hash.Function
}

func Get

func Get(oidID oids.ID) (*SignatureAlgorithm, error)

Get en: get signature algorithm by the corresponding oids.ID const ru: получить алгоритм подписи по соответствующей oids.ID константе

func (SignatureAlgorithm) GetFamily

func (sa SignatureAlgorithm) GetFamily() algorithm.Family

GetFamily en: which family does this algorithm belong to? ru: к какому семейству относится данный алгоритм?

Jump to

Keyboard shortcuts

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