Lines Matching refs:Status
11 bool Status::IsError() const { in IsError()
15 bool Status::IsSuccess() const { in IsSuccess()
19 Status Status::Success() { in Success()
20 return Status(TYPE_SUCCESS); in Success()
23 Status Status::OperationError() { in OperationError()
24 return Status(blink::WebCryptoErrorTypeOperation, ""); in OperationError()
27 Status Status::DataError() { in DataError()
28 return Status(blink::WebCryptoErrorTypeData, ""); in DataError()
31 Status Status::ErrorJwkNotDictionary() { in ErrorJwkNotDictionary()
32 return Status(blink::WebCryptoErrorTypeData, in ErrorJwkNotDictionary()
36 Status Status::ErrorJwkPropertyMissing(const std::string& property) { in ErrorJwkPropertyMissing()
37 return Status(blink::WebCryptoErrorTypeData, in ErrorJwkPropertyMissing()
41 Status Status::ErrorJwkPropertyWrongType(const std::string& property, in ErrorJwkPropertyWrongType()
43 return Status( in ErrorJwkPropertyWrongType()
48 Status Status::ErrorJwkBase64Decode(const std::string& property) { in ErrorJwkBase64Decode()
49 return Status( in ErrorJwkBase64Decode()
54 Status Status::ErrorJwkExtInconsistent() { in ErrorJwkExtInconsistent()
55 return Status( in ErrorJwkExtInconsistent()
61 Status Status::ErrorJwkUnrecognizedAlgorithm() { in ErrorJwkUnrecognizedAlgorithm()
62 return Status(blink::WebCryptoErrorTypeData, in ErrorJwkUnrecognizedAlgorithm()
66 Status Status::ErrorJwkAlgorithmInconsistent() { in ErrorJwkAlgorithmInconsistent()
67 return Status(blink::WebCryptoErrorTypeData, in ErrorJwkAlgorithmInconsistent()
72 Status Status::ErrorJwkUnrecognizedUse() { in ErrorJwkUnrecognizedUse()
73 return Status(blink::WebCryptoErrorTypeData, in ErrorJwkUnrecognizedUse()
77 Status Status::ErrorJwkUnrecognizedKeyop() { in ErrorJwkUnrecognizedKeyop()
78 return Status(blink::WebCryptoErrorTypeData, in ErrorJwkUnrecognizedKeyop()
82 Status Status::ErrorJwkUseInconsistent() { in ErrorJwkUseInconsistent()
83 return Status(blink::WebCryptoErrorTypeData, in ErrorJwkUseInconsistent()
89 Status Status::ErrorJwkKeyopsInconsistent() { in ErrorJwkKeyopsInconsistent()
90 return Status(blink::WebCryptoErrorTypeData, in ErrorJwkKeyopsInconsistent()
96 Status Status::ErrorJwkUseAndKeyopsInconsistent() { in ErrorJwkUseAndKeyopsInconsistent()
97 return Status(blink::WebCryptoErrorTypeData, in ErrorJwkUseAndKeyopsInconsistent()
102 Status Status::ErrorJwkUnrecognizedKty() { in ErrorJwkUnrecognizedKty()
103 return Status(blink::WebCryptoErrorTypeData, in ErrorJwkUnrecognizedKty()
107 Status Status::ErrorJwkIncorrectKeyLength() { in ErrorJwkIncorrectKeyLength()
108 return Status(blink::WebCryptoErrorTypeData, in ErrorJwkIncorrectKeyLength()
113 Status Status::ErrorJwkIncompleteOptionalRsaPrivateKey() { in ErrorJwkIncompleteOptionalRsaPrivateKey()
114 return Status(blink::WebCryptoErrorTypeData, in ErrorJwkIncompleteOptionalRsaPrivateKey()
119 Status Status::ErrorImportEmptyKeyData() { in ErrorImportEmptyKeyData()
120 return Status(blink::WebCryptoErrorTypeData, "No key data was provided"); in ErrorImportEmptyKeyData()
123 Status Status::ErrorImportAesKeyLength() { in ErrorImportAesKeyLength()
124 return Status(blink::WebCryptoErrorTypeData, in ErrorImportAesKeyLength()
128 Status Status::ErrorAes192BitUnsupported() { in ErrorAes192BitUnsupported()
129 return Status(blink::WebCryptoErrorTypeNotSupported, in ErrorAes192BitUnsupported()
133 Status Status::ErrorUnexpectedKeyType() { in ErrorUnexpectedKeyType()
134 return Status(blink::WebCryptoErrorTypeInvalidAccess, in ErrorUnexpectedKeyType()
138 Status Status::ErrorIncorrectSizeAesCbcIv() { in ErrorIncorrectSizeAesCbcIv()
139 return Status(blink::WebCryptoErrorTypeData, in ErrorIncorrectSizeAesCbcIv()
143 Status Status::ErrorDataTooLarge() { in ErrorDataTooLarge()
144 return Status(blink::WebCryptoErrorTypeData, in ErrorDataTooLarge()
148 Status Status::ErrorDataTooSmall() { in ErrorDataTooSmall()
149 return Status(blink::WebCryptoErrorTypeData, in ErrorDataTooSmall()
153 Status Status::ErrorUnsupported() { in ErrorUnsupported()
157 Status Status::ErrorUnsupported(const std::string& message) { in ErrorUnsupported()
158 return Status(blink::WebCryptoErrorTypeNotSupported, message); in ErrorUnsupported()
161 Status Status::ErrorUnexpected() { in ErrorUnexpected()
162 return Status(blink::WebCryptoErrorTypeUnknown, in ErrorUnexpected()
166 Status Status::ErrorInvalidAesGcmTagLength() { in ErrorInvalidAesGcmTagLength()
167 return Status( in ErrorInvalidAesGcmTagLength()
173 Status Status::ErrorInvalidAesKwDataLength() { in ErrorInvalidAesKwDataLength()
174 return Status(blink::WebCryptoErrorTypeData, in ErrorInvalidAesKwDataLength()
179 Status Status::ErrorGenerateKeyPublicExponent() { in ErrorGenerateKeyPublicExponent()
180 return Status(blink::WebCryptoErrorTypeData, in ErrorGenerateKeyPublicExponent()
184 Status Status::ErrorImportRsaEmptyModulus() { in ErrorImportRsaEmptyModulus()
185 return Status(blink::WebCryptoErrorTypeData, "The modulus is empty"); in ErrorImportRsaEmptyModulus()
188 Status Status::ErrorGenerateRsaZeroModulus() { in ErrorGenerateRsaZeroModulus()
189 return Status(blink::WebCryptoErrorTypeData, in ErrorGenerateRsaZeroModulus()
193 Status Status::ErrorImportRsaEmptyExponent() { in ErrorImportRsaEmptyExponent()
194 return Status(blink::WebCryptoErrorTypeData, in ErrorImportRsaEmptyExponent()
198 Status Status::ErrorKeyNotExtractable() { in ErrorKeyNotExtractable()
199 return Status(blink::WebCryptoErrorTypeInvalidAccess, in ErrorKeyNotExtractable()
203 Status Status::ErrorGenerateKeyLength() { in ErrorGenerateKeyLength()
204 return Status(blink::WebCryptoErrorTypeData, in ErrorGenerateKeyLength()
209 Status Status::ErrorCreateKeyBadUsages() { in ErrorCreateKeyBadUsages()
210 return Status(blink::WebCryptoErrorTypeData, in ErrorCreateKeyBadUsages()
214 Status::Status(blink::WebCryptoErrorType error_type, in Status() function in content::webcrypto::Status
221 Status::Status(Type type) : type_(type) { in Status() function in content::webcrypto::Status