This commit is contained in:
tzagim
2024-05-21 20:08:12 +03:00
committed by GitHub
parent ff6d9f23e3
commit 0cf7c09ed5
85 changed files with 31569 additions and 479 deletions
@@ -0,0 +1,34 @@
syntax = "proto3";
package WACert;
option go_package = "go.mau.fi/whatsmeow/binary/armadillo/waCert";
message NoiseCertificate {
message Details {
uint32 serial = 1;
string issuer = 2;
uint64 expires = 3;
string subject = 4;
bytes key = 5;
}
bytes details = 1;
bytes signature = 2;
}
message CertChain {
message NoiseCertificate {
message Details {
uint32 serial = 1;
uint32 issuerSerial = 2;
bytes key = 3;
uint64 notBefore = 4;
uint64 notAfter = 5;
}
bytes details = 1;
bytes signature = 2;
}
NoiseCertificate leaf = 1;
NoiseCertificate intermediate = 2;
}