Lines Matching refs:uint8_t
35 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType) = 0;
37 virtual status_t createPlugin(const uint8_t uuid[16],
42 virtual status_t openSession(Vector<uint8_t> &sessionId) = 0;
44 virtual status_t closeSession(Vector<uint8_t> const &sessionId) = 0;
47 getKeyRequest(Vector<uint8_t> const &sessionId,
48 Vector<uint8_t> const &initData,
51 Vector<uint8_t> &request, String8 &defaultUrl,
54 virtual status_t provideKeyResponse(Vector<uint8_t> const &sessionId,
55 Vector<uint8_t> const &response,
56 Vector<uint8_t> &keySetId) = 0;
58 virtual status_t removeKeys(Vector<uint8_t> const &keySetId) = 0;
60 virtual status_t restoreKeys(Vector<uint8_t> const &sessionId,
61 Vector<uint8_t> const &keySetId) = 0;
63 virtual status_t queryKeyStatus(Vector<uint8_t> const &sessionId,
68 Vector<uint8_t> &request,
71 virtual status_t provideProvisionResponse(Vector<uint8_t> const &response,
72 Vector<uint8_t> &certificate,
73 Vector<uint8_t> &wrappedKey) = 0;
75 virtual status_t getSecureStops(List<Vector<uint8_t> > &secureStops) = 0;
76 virtual status_t getSecureStop(Vector<uint8_t> const &ssid, Vector<uint8_t> &secureStop) = 0;
78 virtual status_t releaseSecureStops(Vector<uint8_t> const &ssRelease) = 0;
83 Vector<uint8_t> &value) const = 0;
87 Vector<uint8_t> const &value) const = 0;
89 virtual status_t setCipherAlgorithm(Vector<uint8_t> const &sessionId,
92 virtual status_t setMacAlgorithm(Vector<uint8_t> const &sessionId,
95 virtual status_t encrypt(Vector<uint8_t> const &sessionId,
96 Vector<uint8_t> const &keyId,
97 Vector<uint8_t> const &input,
98 Vector<uint8_t> const &iv,
99 Vector<uint8_t> &output) = 0;
101 virtual status_t decrypt(Vector<uint8_t> const &sessionId,
102 Vector<uint8_t> const &keyId,
103 Vector<uint8_t> const &input,
104 Vector<uint8_t> const &iv,
105 Vector<uint8_t> &output) = 0;
107 virtual status_t sign(Vector<uint8_t> const &sessionId,
108 Vector<uint8_t> const &keyId,
109 Vector<uint8_t> const &message,
110 Vector<uint8_t> &signature) = 0;
112 virtual status_t verify(Vector<uint8_t> const &sessionId,
113 Vector<uint8_t> const &keyId,
114 Vector<uint8_t> const &message,
115 Vector<uint8_t> const &signature,
118 virtual status_t signRSA(Vector<uint8_t> const &sessionId,
120 Vector<uint8_t> const &message,
121 Vector<uint8_t> const &wrappedKey,
122 Vector<uint8_t> &signature) = 0;
135 void readVector(const Parcel &data, Vector<uint8_t> &vector) const;
136 void writeVector(Parcel *reply, Vector<uint8_t> const &vector) const;