-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathServerSignedSignature.proto
More file actions
28 lines (21 loc) · 1.02 KB
/
ServerSignedSignature.proto
File metadata and controls
28 lines (21 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
syntax = "proto3";
package e2ees;
option java_package = "org.e2eelab.proto.e2ees";
option java_outer_classname = "ServerSignedSignatureProto";
option objc_class_prefix = "Objc";
option swift_prefix="Swift";
import "e2ees/Certificate.proto";
import "e2ees/AlgTypeDs.proto";
import "e2ees/AlgTypeHash.proto";
/**
* The server signed signature.
*/
message ServerSignedSignature {
uint32 version = 1; // The version number
AlgTypeHash hash_alg = 2; // The hash algorithm for creating fingerprint of cert attribute and signing public key.
AlgTypeDs signing_alg = 3; // The algorithm for generating the signature.
Subject signer = 11; // The signer information.
bytes signing_public_key_fingerprint = 12; // The hash value as the fingerprint of the signing public key.
bytes msg_fingerprint = 21; // The hash value as the fingerprint of message to be signed.
bytes signature = 22; // The signature of some message signed by the signer's key.
}