Lines Matching refs:secret
26 // acl_secret - secret-validation password ACLs framework.
41 // passing their secret through some deterministic validation mechanism.
42 // As a limiting case, the subject can contain the secret itself and validate
48 // (1) How to OBTAIN the secret. This is the job of your subclass; SecretAclSubject
50 // (2) How to VALIDATE the secret. This is delegated to an environment method,
52 // (3) Whether to use a locally stored copy of the secret for validation (by equality)
54 // This implementation assumes that the secret, whatever it may be, can be stored
62 SecretAclSubject(Allocator &alloc, CSSM_ACL_SUBJECT_TYPE type, const CssmData &secret);
63 SecretAclSubject(Allocator &alloc, CSSM_ACL_SUBJECT_TYPE type, CssmManagedData &secret);
69 void secret(const CssmData &secret) const;
70 void secret(CssmManagedData &secret) const;
80 const AccessCredentials *secret) = 0;
84 // implement this to get your secret (somehow)
86 const TypedList &sample, CssmOwnedData &secret) const = 0;
88 const CssmData &secret() const { assert(mSecretValid); return mSecret; }
91 mutable CssmAutoData mSecret; // locally known secret
93 bool mCacheSecret; // cache secret locally and validate from cache