AwsEncryptionSdk.Format.Footer (AWS Encryption SDK v1.0.0)
View SourceMessage footer serialization and deserialization.
The footer contains an ECDSA signature that covers the entire message (header + body). It is only present when using algorithm suites that include digital signatures.
Format
| Field | Size |
|------------------|-----------|
| Signature Length | 2 bytes | Uint16
| Signature | Variable | DER-encoded ECDSA signatureSignature Encoding
ECDSA signatures are DER-encoded per RFC 3279. The length varies:
- P-256 (ECDSA_P256): typically 70-72 bytes
- P-384 (ECDSA_P384): typically 102-104 bytes
Summary
Types
@type t() :: %{signature: binary()}
Footer structure