mirror of
https://github.com/42wim/matterbridge.git
synced 2024-11-30 14:42:00 -08:00
c4157a4d5b
* Update dependencies * Fix whatsmeow API changes
35 lines
738 B
Protocol Buffer
35 lines
738 B
Protocol Buffer
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;
|
|
}
|