Lines Matching refs:vector

46 using std::vector;
64 void retrieveData(const vector<uint8_t>& readerPrivateKey,
65 const vector<vector<uint8_t>>& readerCertChain, bool expectSuccess,
69 vector<uint8_t> readerPublicKey_;
70 vector<uint8_t> readerPrivateKey_;
71 vector<uint8_t> intermediateAPublicKey_;
72 vector<uint8_t> intermediateAPrivateKey_;
73 vector<uint8_t> intermediateBPublicKey_;
74 vector<uint8_t> intermediateBPrivateKey_;
75 vector<uint8_t> intermediateCPublicKey_;
76 vector<uint8_t> intermediateCPrivateKey_;
78 vector<uint8_t> cert_A_SelfSigned_;
80 vector<uint8_t> cert_B_SelfSigned_;
82 vector<uint8_t> cert_B_SignedBy_C_;
84 vector<uint8_t> cert_C_SelfSigned_;
86 vector<uint8_t> cert_reader_SelfSigned_;
87 vector<uint8_t> cert_reader_SignedBy_A_;
88 vector<uint8_t> cert_reader_SignedBy_B_;
95 vector<uint8_t> encContentAccessibleByA_;
96 vector<uint8_t> encContentAccessibleByAorB_;
97 vector<uint8_t> encContentAccessibleByB_;
98 vector<uint8_t> encContentAccessibleByC_;
99 vector<uint8_t> encContentAccessibleByAll_;
100 vector<uint8_t> encContentAccessibleByNone_;
102 vector<uint8_t> credentialData_;
115 pair<vector<uint8_t>, vector<uint8_t>> generateReaderKey() { in generateReaderKey()
116 optional<vector<uint8_t>> keyPKCS8 = support::createEcKeyPair(); in generateReaderKey()
117 optional<vector<uint8_t>> publicKey = support::ecKeyPairGetPublicKey(keyPKCS8.value()); in generateReaderKey()
118 optional<vector<uint8_t>> privateKey = support::ecKeyPairGetPrivateKey(keyPKCS8.value()); in generateReaderKey()
122 vector<uint8_t> generateReaderCert(const vector<uint8_t>& publicKey, in generateReaderCert()
123 const vector<uint8_t>& signingKey) { in generateReaderCert()
126 optional<vector<uint8_t>> cert = support::ecPublicKeyGenerateCertificate( in generateReaderCert()
159 vector<uint8_t> attestationApplicationId = {}; in provisionData()
160 vector<uint8_t> attestationChallenge = {1}; in provisionData()
161 vector<Certificate> certChain; in provisionData()
218 vector<uint8_t> proofOfProvisioningSignature; in provisionData()
223 vector<int32_t> accessControlProfileIds) { in buildRequestDataItem()
231 void ReaderAuthTests::retrieveData(const vector<uint8_t>& readerPrivateKey, in retrieveData()
232 const vector<vector<uint8_t>>& readerCertChain, in retrieveData()
249 optional<vector<uint8_t>> readerEKeyPair = support::createEcKeyPair(); in retrieveData()
250 optional<vector<uint8_t>> readerEPublicKey = in retrieveData()
254 vector<uint8_t> eKeyPair; in retrieveData()
256 optional<vector<uint8_t>> ePublicKey = support::ecKeyPairGetPublicKey(eKeyPair); in retrieveData()
262 vector<uint8_t> deviceEngagementBytes = deviceEngagement.encode(); in retrieveData()
263 vector<uint8_t> eReaderPubBytes = cppbor::Tstr("ignored").encode(); in retrieveData()
267 vector<uint8_t> sessionTranscriptBytes = sessionTranscript.encode(); in retrieveData()
269 vector<uint8_t> itemsRequestBytes; in retrieveData()
292 vector<uint8_t> encodedReaderAuthentication = in retrieveData()
298 vector<uint8_t> encodedReaderAuthenticationBytes = in retrieveData()
301 optional<vector<uint8_t>> readerSignature = in retrieveData()
309 vector<uint8_t> signingKeyBlob; in retrieveData()
351 vector<uint8_t> decrypted; in retrieveData()
389 vector<uint8_t> mac; in retrieveData()
390 vector<uint8_t> deviceNameSpaces; in retrieveData()
502 optional<vector<uint8_t>> readerEKeyPair = support::createEcKeyPair(); in TEST_P()
503 optional<vector<uint8_t>> readerEPublicKey = in TEST_P()
507 vector<uint8_t> eKeyPair; in TEST_P()
509 optional<vector<uint8_t>> ePublicKey = support::ecKeyPairGetPublicKey(eKeyPair); in TEST_P()
515 vector<uint8_t> nulls(32); in TEST_P()
517 vector<uint8_t> deviceEngagementBytes = deviceEngagement.encode(); in TEST_P()
518 vector<uint8_t> eReaderPubBytes = cppbor::Tstr("ignored").encode(); in TEST_P()
522 vector<uint8_t> sessionTranscriptBytes = sessionTranscript.encode(); in TEST_P()
524 vector<uint8_t> itemsRequestBytes; in TEST_P()
534 vector<uint8_t> encodedReaderAuthentication = in TEST_P()
540 vector<uint8_t> encodedReaderAuthenticationBytes = in TEST_P()
543 vector<vector<uint8_t>> readerCertChain = {cert_reader_SelfSigned_}; in TEST_P()
544 optional<vector<uint8_t>> readerSignature = in TEST_P()
552 vector<uint8_t> signingKeyBlob; in TEST_P()