Lines Matching full:const
33 virtual status_t initCheck() const = 0;
35 virtual bool isCryptoSchemeSupported(const uint8_t uuid[16], const String8 &mimeType) = 0;
37 virtual status_t createPlugin(const uint8_t uuid[16]) = 0;
43 virtual status_t closeSession(Vector<uint8_t> const &sessionId) = 0;
46 getKeyRequest(Vector<uint8_t> const &sessionId,
47 Vector<uint8_t> const &initData,
48 String8 const &mimeType, DrmPlugin::KeyType keyType,
49 KeyedVector<String8, String8> const &optionalParameters,
53 virtual status_t provideKeyResponse(Vector<uint8_t> const &sessionId,
54 Vector<uint8_t> const &response,
57 virtual status_t removeKeys(Vector<uint8_t> const &keySetId) = 0;
59 virtual status_t restoreKeys(Vector<uint8_t> const &sessionId,
60 Vector<uint8_t> const &keySetId) = 0;
62 virtual status_t queryKeyStatus(Vector<uint8_t> const &sessionId,
63 KeyedVector<String8, String8> &infoMap) const = 0;
65 virtual status_t getProvisionRequest(String8 const &certType,
66 String8 const &certAuthority,
70 virtual status_t provideProvisionResponse(Vector<uint8_t> const &response,
75 virtual status_t getSecureStop(Vector<uint8_t> const &ssid, Vector<uint8_t> &secureStop) = 0;
77 virtual status_t releaseSecureStops(Vector<uint8_t> const &ssRelease) = 0;
80 virtual status_t getPropertyString(String8 const &name, String8 &value) const = 0;
81 virtual status_t getPropertyByteArray(String8 const &name,
82 Vector<uint8_t> &value) const = 0;
83 virtual status_t setPropertyString(String8 const &name,
84 String8 const &value ) const = 0;
85 virtual status_t setPropertyByteArray(String8 const &name,
86 Vector<uint8_t> const &value) const = 0;
88 virtual status_t setCipherAlgorithm(Vector<uint8_t> const &sessionId,
89 String8 const &algorithm) = 0;
91 virtual status_t setMacAlgorithm(Vector<uint8_t> const &sessionId,
92 String8 const &algorithm) = 0;
94 virtual status_t encrypt(Vector<uint8_t> const &sessionId,
95 Vector<uint8_t> const &keyId,
96 Vector<uint8_t> const &input,
97 Vector<uint8_t> const &iv,
100 virtual status_t decrypt(Vector<uint8_t> const &sessionId,
101 Vector<uint8_t> const &keyId,
102 Vector<uint8_t> const &input,
103 Vector<uint8_t> const &iv,
106 virtual status_t sign(Vector<uint8_t> const &sessionId,
107 Vector<uint8_t> const &keyId,
108 Vector<uint8_t> const &message,
111 virtual status_t verify(Vector<uint8_t> const &sessionId,
112 Vector<uint8_t> const &keyId,
113 Vector<uint8_t> const &message,
114 Vector<uint8_t> const &signature,
117 virtual status_t signRSA(Vector<uint8_t> const &sessionId,
118 String8 const &algorithm,
119 Vector<uint8_t> const &message,
120 Vector<uint8_t> const &wrappedKey,
123 virtual status_t setListener(const sp<IDrmClient>& listener) = 0;
131 uint32_t code, const Parcel &data, Parcel *reply,
134 void readVector(const Parcel &data, Vector<uint8_t> &vector) const;
135 void writeVector(Parcel *reply, Vector<uint8_t> const &vector) const;