diff --git a/proto/sharing_enums.proto b/proto/sharing_enums.proto index 3d2e9cee..13a0fd00 100644 --- a/proto/sharing_enums.proto +++ b/proto/sharing_enums.proto @@ -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 // )