Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

941 B
Raw Blame
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at http://mozilla.org/MPL/2.0/.

syntax = "proto2";
package WACert;
option go_package = "go.mau.fi/whatsmeow/proto/waCert";

message NoiseCertificate {
	message Details {
		optional uint32 serial = 1;
		optional string issuer = 2;
		optional uint64 expires = 3;
		optional string subject = 4;
		optional bytes key = 5;
	}

	optional bytes details = 1;
	optional bytes signature = 2;
}

message CertChain {
	message NoiseCertificate {
		message Details {
			optional uint32 serial = 1;
			optional uint32 issuerSerial = 2;
			optional bytes key = 3;
			optional uint64 notBefore = 4;
			optional uint64 notAfter = 5;
		}

		optional bytes details = 1;
		optional bytes signature = 2;
	}

	optional NoiseCertificate leaf = 1;
	optional NoiseCertificate intermediate = 2;
}