PADATA_PW_SALT,
PADATA_REQ_ENC_PA_REP,
PADATA_SUPPORTED_ETYPES,
+ TD_CMS_DIGEST_ALGORITHMS,
)
import samba.tests.krb5.kcrypto as kcrypto
require_strict.add(PADATA_ENCRYPTED_CHALLENGE)
got_patypes = tuple(pa['padata-type'] for pa in rep_padata)
- TD_CMS_DIGEST_ALGORITHMS = 111
self.assertSequenceElementsEqual(expected_patypes, got_patypes,
require_strict=require_strict,
unchecked={PADATA_PW_SALT,TD_CMS_DIGEST_ALGORITHMS})
...
}
+-- (from RFC 8636)
+
+TD-CMS-DIGEST-ALGORITHMS-DATA ::= SEQUENCE OF
+ AlgorithmIdentifier
+ -- Contains the list of CMS algorithm [RFC5652]
+ -- identifiers indicating the digest algorithms
+ -- acceptable to the KDC for signing CMS data in
+ -- decreasing order of preference.
+
--
id-pkinit-ms-san OBJECT IDENTIFIER ::= {