VerificationCredential::VerificationCredential( CredentialSet& parent, const proto::Credential& credential) : ot_super(parent, credential) { master_id_ = credential.childdata().masterid(); data_.reset(new proto::VerificationSet(credential.verification())); }
VerificationCredential::VerificationCredential( const api::Core& api, CredentialSet& parent, const proto::Credential& credential) : ot_super(api, parent, credential) { mode_ = proto::KEYMODE_NULL; master_id_ = credential.childdata().masterid(); data_.reset(new proto::VerificationSet(credential.verification())); }