Module x509_signature_algorithm

Functions for creating algoritym identifier records of various types.

Description

Functions for creating algoritym identifier records of various types

Data Types

hash()

hash() = md5 | sha | sha224 | sha256 | sha384 | sha512

signature()

signature() = rsa | ecdsa

signature_or_key()

signature_or_key() = signature() | #'RSAPrivateKey'{} | #'ECPrivateKey'{}

Function Index

new/2creates a new AlgorithmIdentifier record The signature algorithm may be specified as an atom or as a private key record for the desired algorithm.
new/3creates a new SignatureAlgorithm, AlgorithmIdentifier or CertificationRequest_signatureAlgorithm record (essentially the reverse of 'public_key:pkix_sign_types/1') The signature algorithm may be specified as an atom or as a private key record for the desired algorithm.

Function Details

new/2

new(Hash::hash(), Sign::signature_or_key()) -> #'SignatureAlgorithm'{}

creates a new AlgorithmIdentifier record The signature algorithm may be specified as an atom or as a private key record for the desired algorithm.

new/3

new(Hash::hash(), Sign::signature_or_key(), Type::'SignatureAlgorithm') -> #'SignatureAlgorithm'{}

creates a new SignatureAlgorithm, AlgorithmIdentifier or CertificationRequest_signatureAlgorithm record (essentially the reverse of 'public_key:pkix_sign_types/1') The signature algorithm may be specified as an atom or as a private key record for the desired algorithm.


Generated by EDoc