Pins a leaf key pair an operator supplied into a slot, in place of the
one this service would generate.
With pki.pinnedSigners on in the realm, a jose or xml pin becomes a
real signer with a publication lead. Without a certificate, one is issued
over the key from the use case's Issuing CA.
Parameters
scopeId: any
a realm id or PROCESS_SCOPE
useCaseId: any
the use case
slot: any
the slot, an algorithm
material: any
{ privateKeyPem, certificatePem, chainPem }, the
certificate optional
options: any
nowMs, for a pinned signer
Returns Promise<any>
a promise of { ok: true, why, ... } or { ok: false, errors }
Pins a leaf key pair an operator supplied into a slot, in place of the one this service would generate.
With
pki.pinnedSignerson in the realm, ajoseorxmlpin becomes a real signer with a publication lead. Without a certificate, one is issued over the key from the use case's Issuing CA.