Home | History | Annotate | Download | only in webcrypto

Lines Matching refs:Status

16 // Status indicates whether an operation completed successfully, or with an
22 class CONTENT_EXPORT Status {
24 Status() : type_(TYPE_ERROR) {}
26 // Returns true if the Status represents an error (any one of them).
29 // Returns true if the Status represent success.
37 // Constructs a status representing success.
38 static Status Success();
40 // Constructs a status representing a generic operation error. It contains no
42 static Status OperationError();
44 // Constructs a status representing a generic data error. It contains no
46 static Status DataError();
55 static Status ErrorJwkNotDictionary();
58 static Status ErrorJwkPropertyMissing(const std::string& property);
61 static Status ErrorJwkPropertyWrongType(const std::string& property,
66 static Status ErrorJwkBase64Decode(const std::string& property);
70 static Status ErrorJwkExtInconsistent();
74 static Status ErrorJwkAlgorithmInconsistent();
78 static Status ErrorJwkUnrecognizedUse();
82 static Status ErrorJwkUnrecognizedKeyop();
86 static Status ErrorJwkUseInconsistent();
90 static Status ErrorJwkKeyopsInconsistent();
94 static Status ErrorJwkUseAndKeyopsInconsistent();
98 static Status ErrorJwkUnexpectedKty(const std::string& expected);
104 static Status ErrorJwkIncorrectKeyLength();
108 static Status ErrorJwkEmptyBigInteger(const std::string& property);
112 static Status ErrorJwkBigIntegerHasLeadingZero(const std::string& property);
121 static Status ErrorImportEmptyKeyData();
125 static Status ErrorUnsupportedImportKeyFormat();
129 static Status ErrorUnsupportedExportKeyFormat();
133 static Status ErrorImportAesKeyLength();
136 static Status ErrorAes192BitUnsupported();
141 static Status ErrorUnexpectedKeyType();
145 static Status ErrorIncorrectSizeAesCbcIv();
149 static Status ErrorIncorrectSizeAesCtrCounter();
153 static Status ErrorInvalidAesCtrCounterLength();
157 static Status ErrorAesCtrInputTooLongCounterRepeated();
162 static Status ErrorDataTooLarge();
167 static Status ErrorDataTooSmall();
172 static Status ErrorUnsupported();
173 static Status ErrorUnsupported(const std::string& message);
178 static Status ErrorUnexpected();
182 static Status ErrorInvalidAesGcmTagLength();
186 static Status ErrorInvalidAesKwDataLength();
190 static Status ErrorGenerateKeyPublicExponent();
193 static Status ErrorImportRsaEmptyModulus();
196 static Status ErrorGenerateRsaUnsupportedModulus();
199 static Status ErrorImportRsaEmptyExponent();
202 static Status ErrorKeyNotExtractable();
206 static Status ErrorGenerateKeyLength();
211 static Status ErrorCreateKeyBadUsages();
217 Status(blink::WebCryptoErrorType error_type,
221 explicit Status(Type type);