1/2
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user