Lines Matching refs:CloudPolicyValidatorBase
63 CloudPolicyValidatorBase::~CloudPolicyValidatorBase() {}
65 void CloudPolicyValidatorBase::ValidateTimestamp(
80 void CloudPolicyValidatorBase::ValidateUsername(
88 void CloudPolicyValidatorBase::ValidateDomain(
94 void CloudPolicyValidatorBase::ValidateDMToken(
102 void CloudPolicyValidatorBase::ValidatePolicyType(
108 void CloudPolicyValidatorBase::ValidateSettingsEntityId(
114 void CloudPolicyValidatorBase::ValidatePayload() {
119 void CloudPolicyValidatorBase::ValidateCachedKey(
130 void CloudPolicyValidatorBase::ValidateSignature(
141 void CloudPolicyValidatorBase::ValidateInitialKey(
148 void CloudPolicyValidatorBase::ValidateAgainstCurrentPolicy(
165 CloudPolicyValidatorBase::CloudPolicyValidatorBase(
181 void CloudPolicyValidatorBase::PostValidationTask(
185 base::Bind(&CloudPolicyValidatorBase::PerformValidation,
186 base::Passed(scoped_ptr<CloudPolicyValidatorBase>(this)),
192 void CloudPolicyValidatorBase::PerformValidation(
193 scoped_ptr<CloudPolicyValidatorBase> self,
202 base::Bind(&CloudPolicyValidatorBase::ReportCompletion,
208 void CloudPolicyValidatorBase::ReportCompletion(
209 scoped_ptr<CloudPolicyValidatorBase> self,
214 void CloudPolicyValidatorBase::RunValidation() {
219 void CloudPolicyValidatorBase::RunChecks() {
242 Status (CloudPolicyValidatorBase::* checkFunction)();
244 { VALIDATE_SIGNATURE, &CloudPolicyValidatorBase::CheckSignature },
245 { VALIDATE_INITIAL_KEY, &CloudPolicyValidatorBase::CheckInitialKey },
246 { VALIDATE_CACHED_KEY, &CloudPolicyValidatorBase::CheckCachedKey },
247 { VALIDATE_POLICY_TYPE, &CloudPolicyValidatorBase::CheckPolicyType },
248 { VALIDATE_ENTITY_ID, &CloudPolicyValidatorBase::CheckEntityId },
249 { VALIDATE_TOKEN, &CloudPolicyValidatorBase::CheckToken },
250 { VALIDATE_USERNAME, &CloudPolicyValidatorBase::CheckUsername },
251 { VALIDATE_DOMAIN, &CloudPolicyValidatorBase::CheckDomain },
252 { VALIDATE_TIMESTAMP, &CloudPolicyValidatorBase::CheckTimestamp },
253 { VALIDATE_PAYLOAD, &CloudPolicyValidatorBase::CheckPayload },
267 bool CloudPolicyValidatorBase::CheckNewPublicKeyVerificationSignature() {
304 bool CloudPolicyValidatorBase::CheckVerificationKeySignature(
331 std::string CloudPolicyValidatorBase::ExtractDomainFromPolicy() {
341 void CloudPolicyValidatorBase::set_verification_key_and_domain(
350 CloudPolicyValidatorBase::Status CloudPolicyValidatorBase::CheckSignature() {
377 CloudPolicyValidatorBase::Status CloudPolicyValidatorBase::CheckInitialKey() {
393 CloudPolicyValidatorBase::Status CloudPolicyValidatorBase::CheckCachedKey() {
405 CloudPolicyValidatorBase::Status CloudPolicyValidatorBase::CheckPolicyType() {
415 CloudPolicyValidatorBase::Status CloudPolicyValidatorBase::CheckEntityId() {
427 CloudPolicyValidatorBase::Status CloudPolicyValidatorBase::CheckTimestamp() {
453 CloudPolicyValidatorBase::Status CloudPolicyValidatorBase::CheckToken() {
471 CloudPolicyValidatorBase::Status CloudPolicyValidatorBase::CheckUsername() {
492 CloudPolicyValidatorBase::Status CloudPolicyValidatorBase::CheckDomain() {
507 CloudPolicyValidatorBase::Status CloudPolicyValidatorBase::CheckPayload() {
519 bool CloudPolicyValidatorBase::VerifySignature(const std::string& data,