Abstracts DSi header signing so build pipelines may use a managed private key, hardware-backed key, or remote signing authority without exposing private material to the builder. Implementations must produce the format's 128-byte RSA-1024 PKCS#1 v1.5 signature over SHA-1 of the exact supplied 0xE00 bytes. More...
Public Member Functions | |
| void | SignHeader (ReadOnlySpan< byte > signedHeader, Span< byte > destination) |
| Signs a finalized DSi header prefix into fixed signature-field storage. | |
Abstracts DSi header signing so build pipelines may use a managed private key, hardware-backed key, or remote signing authority without exposing private material to the builder. Implementations must produce the format's 128-byte RSA-1024 PKCS#1 v1.5 signature over SHA-1 of the exact supplied 0xE00 bytes.
Definition at line 8 of file INdsDsiSignatureProvider.cs.
| void NdsForge.INdsDsiSignatureProvider.SignHeader | ( | ReadOnlySpan< byte > | signedHeader, |
| Span< byte > | destination ) |
Signs a finalized DSi header prefix into fixed signature-field storage.
| signedHeader | Exactly bytes 0x000-0xDFF in their final serialized form. |
| destination | Exactly 128 bytes corresponding to header offsets 0xF80-0xFFF. |
Implemented in NdsForge.NdsDsiRsaSignatureProvider.