mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 22:56:12 -04:00
[Sharing] Log Decrypt Certificate Failure Status.
PiperOrigin-RevId: 555186404
This commit is contained in:
@@ -30,7 +30,7 @@ option objc_class_prefix = "GNSHP";
|
||||
// in NearbyClearcutLogger (for android, or clearcut_event_logger as the
|
||||
// equivalence for Windows) for all events (may exclude settings), and
|
||||
// session_id for a pair of events (start and end of a session).
|
||||
// Next id: 64
|
||||
// Next id: 65
|
||||
enum EventType {
|
||||
UNKNOWN_EVENT_TYPE = 0;
|
||||
|
||||
@@ -235,6 +235,9 @@ enum EventType {
|
||||
// User sets account preference
|
||||
SET_ACCOUNT = 63;
|
||||
|
||||
// Decrypt certificate failure
|
||||
DECRYPT_CERTIFICATE_FAILURE = 64;
|
||||
|
||||
// LINT.ThenChange(//depot/google3/location/nearby/proto/nearby_event_codes.proto:SharingEventCode)
|
||||
}
|
||||
|
||||
@@ -762,6 +765,16 @@ enum DesktopTransferEventType {
|
||||
DESKTOP_TRANSFER_EVENT_SEND_TYPE_SENT = 8;
|
||||
DESKTOP_TRANSFER_EVENT_SEND_TYPE_ERROR = 9;
|
||||
}
|
||||
|
||||
enum DecryptCertificateFailureStatus {
|
||||
DECRYPT_CERT_UNKNOWN_FAILURE = 0;
|
||||
DECRYPT_CERT_NO_SUCH_ALGORITHM_FAILURE = 1;
|
||||
DECRYPT_CERT_NO_SUCH_PADDING_FAILURE = 2;
|
||||
DECRYPT_CERT_INVALID_KEY_FAILURE = 3;
|
||||
DECRYPT_CERT_INVALID_ALGORITHM_PARAMETER_FAILURE = 4;
|
||||
DECRYPT_CERT_ILLEGAL_BLOCK_SIZE_FAILURE = 5;
|
||||
DECRYPT_CERT_BAD_PADDING_FAILURE = 6;
|
||||
}
|
||||
// LINT.ThenChange(
|
||||
// //depot/google3/location/nearby/cpp/sharing/clients/dart/platform/lib/types/models.dart
|
||||
// )
|
||||
|
||||
Reference in New Issue
Block a user