NdsForge.NET 1.0.1
Read, validate, edit, compare, and build Nintendo DS and DSi images from .NET
Loading...
Searching...
No Matches
NdsForge.INdsDsiSignatureProvider Interface Reference

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...

Inheritance diagram for NdsForge.INdsDsiSignatureProvider:

Public Member Functions

void SignHeader (ReadOnlySpan< byte > signedHeader, Span< byte > destination)
 Signs a finalized DSi header prefix into fixed signature-field storage.

Detailed Description

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.

Member Function Documentation

◆ SignHeader()

void NdsForge.INdsDsiSignatureProvider.SignHeader ( ReadOnlySpan< byte > signedHeader,
Span< byte > destination )

Signs a finalized DSi header prefix into fixed signature-field storage.

Parameters
signedHeaderExactly bytes 0x000-0xDFF in their final serialized form.
destinationExactly 128 bytes corresponding to header offsets 0xF80-0xFFF.

Implemented in NdsForge.NdsDsiRsaSignatureProvider.


The documentation for this interface was generated from the following file: