hash() = md5 | sha | sha224 | sha256 | sha384 | sha512
signature() = rsa | ecdsa
signature_or_key() = signature() | #'RSAPrivateKey'{} | #'ECPrivateKey'{}
new/2 | 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 | 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. |
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(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