Lines Matching refs:secret
26 // acl_secret - secret-validation password ACLs framework.
36 // Construct a secret-bearing ACL subject
58 // Set the secret after creation.
64 void SecretAclSubject::secret(const CssmData &s) const
70 secdebug("aclsecret", "%p secret stored", this);
72 secdebug("aclsecret", "%p refused to store secret", this);
75 void SecretAclSubject::secret(CssmManagedData &s) const
81 secdebug("aclsecret", "%p secret stored", this);
83 secdebug("aclsecret", "%p refused to store secret", this);
88 // Validate a secret.
89 // The subclass has to come up with the secret somehow. We just validate it.
94 CssmAutoData secret(allocator);
96 // try to get the secret; fail if we can't
97 if (!getSecret(context, sample, secret))
100 // now validate the secret
102 return mSecret == secret;
105 TypedList data(alloc, type(), new(alloc) ListElement(secret.get()));