Commit 4d257672 authored by Steije van Schelt's avatar Steije van Schelt Committed by Mark Canterbury
Browse files

Add SignatureAlgorithm field

parent b20e1ee9
Loading
Loading
Loading
Loading
+13 −1
Original line number Diff line number Diff line
@@ -515,9 +515,12 @@ IntegrityCheck ::= SEQUENCE
        -- used to insert the appropriate ASN.1 DER or BER encoded structure for the
        -- DSS/DSA signature as described in IETF RFC 3279 [43], clause 2.2.2.
    ...,
    hashAlgorithm               [4] HashAlgorithm OPTIONAL
    hashAlgorithm               [4] HashAlgorithm OPTIONAL,
        -- Clarifies the hash function if checkType is hash(1).
        -- If used, it shall be present for each checkType hash(1).
    signatureAlgorithm          [5] SignatureAlgorithm OPTIONAL
        -- Clarifies the signature algorithm if checkType is signature(2).
        -- If used, it shall be present for each checkType signature(2).
}

CheckType ::= ENUMERATED
@@ -547,6 +550,15 @@ HashAlgorithm ::= ENUMERATED
    ...
}

SignatureAlgorithm ::= ENUMERATED
{
    dSA(1),
        -- Included for legacy/migration purposes only, not to be used for new implementations
    eCDSA(2),
    edDSA(3),
    ...
}

Option ::= CHOICE
{
    pDUAcknowledgement  [0] NULL,