Skip to content

API reference / @zaes/metoc / S100VerifyOptions

Interface: S100VerifyOptions ​

Properties ​

algorithm? ​

ts
algorithm?: string;

The catalogue's digitalSignatureReference; absent means Part 15's ECDSA-384-SHA2.


certificates ​

ts
certificates: readonly S100CertificateEntry[];

The certificates the exchange set carries (the catalogue's or the signature file's).


now? ​

ts
now?: Date;

When to check the certificates' dates against (default now).


schemeAdministratorId? ​

ts
schemeAdministratorId?: string;

trustedRoots ​

ts
trustedRoots: readonly (string | Uint8Array<ArrayBufferLike>)[];

The Scheme Administrator certificates to trust (DER, base64 or PEM): the IHO's for real data. With none, nothing can be trusted, and the result is untrusted at best.

Released under the MIT License.