"export=": {
activePinnedSigner: (
scopeId: any,
useCaseId: any,
slot: any,
nowMs: any,
) => any;
algorithmsFrom: (options: any) => any;
alternativeKeyAlgs: () => string[];
alternativeProblem: (
pems: any,
links: any,
opts: any,
) => Promise<
| { algorithm: any; check: string; index: number; reason?: undefined }
| { algorithm?: undefined; check: string; index: number; reason: any }
| {
algorithm?: undefined;
check: string;
index: number;
reason?: undefined;
},
>;
anchorProblem: (cert: any, options: any) => Promise<any>;
anchorProblemSync: (cert: any, options: any) => any;
attestationCertificateFacts: (
der: any,
) => {
ca: any;
curve: string;
eku: any[];
extensions: {};
keyType: string;
pem: any;
publicKeyJwk: any;
sanDirectoryTypes: any[];
subject: {};
subjectAltName: string;
subjectEmpty: boolean;
subjectText: string;
version: number;
};
attestationDeviceSerial: (der: any) => { serial: string; source: string };
attestationKeyIdentifier: (der: any) => any;
attestationSignatureAlgorithm: (
der: any,
) => {
algorithm: string;
composite: boolean;
family: string;
oid: string;
postQuantum: boolean;
};
authorityCode: (problem: any, issuerCode: any) => any;
awsIidCertificate: (region: any, keyType: any) => any;
azureImdsRoots: () => any[];
buildChain: (realmId: any, opts: any) => Promise<any>;
buildRoot: (opts: any) => Promise<any>;
buildScope: (scopeId: any, opts: any) => Promise<any>;
buildsRealmBranches: () => boolean;
buildsSettled: () => any;
certificateBundle: (
pemText: any,
) => { certificates: any[]; unreadable: number };
certificateFor: (scopeId: any, useCaseId: any, slot: any, kid: any) => any;
certificateFromDer: (
der: any,
) => { der: any; pem: any; sha1: any; x509: any };
certificateSerialHex: (der: any) => string;
certificatesFor: (scopeId: any, useCaseId: any) => any[];
certify: (scopeId: any, useCaseId: any, spec: any) => Promise<any>;
certifyKeySet: (realmId: any, keys: any) => Promise<any>;
certifyKeySetWhenBranched: (
realmId: any,
keys: any,
stillCurrent: any,
) => Promise<any>;
certifyPqKeys: (realmId: any, pqKeys: any, keepKids: any) => Promise<any>;
certifyRegistered: (opts: any) => Promise<number>;
certifySignerGroups: (
realmId: any,
members: any,
attempt: any,
) => Promise<any>;
certifyStandbyKeys: (
realmId: any,
keys: any,
) => Promise<{ certified: number; failed: string[] }>;
certifyVerifierKey: (realmId: any, spec: any) => Promise<any>;
chainPemFor: (realmId: any) => any;
chainThroughRoot: (certificatePem: any, chainPem: any, opts: any) => any;
checkSshHostCertificate: (
cert: any,
principal: any,
authorities: any,
nowSeconds: any,
) => Promise<string>;
clearChain: (realmId: any) => any;
clearObjects: (realmId: any) => any;
csrProofOfPossession: (
csr: any,
spkiPem: any,
desc: any,
) => Promise<boolean>;
DEFAULT_KDC_KEY_ALG: string;
DEFAULT_KEY_ALG: string;
DEFAULT_SIG_ALG: string;
DEFAULT_TLS_SERVER_KEY_ALG: string;
defaultSignatureAlgorithmFor: (keyAlgId: any) => any;
describe: (
realmId: any,
) => {
altKeyAlg: any;
country: any;
createdAt: any;
issuedCount: any;
keyAlg: any;
organisation: any;
persisted: boolean;
realm: any;
signatureAlg: any;
tiers: any;
};
describeCertificate: (
one: any,
) => {
alg: any;
certificatePem: any;
chainPem: any;
createdAt: any;
expired: boolean;
keyAlg: any;
label: any;
notAfter: any;
notBefore: any;
pinned: boolean;
serialHex: any;
signatureAlg: any;
slot: any;
subject: any;
thumbprint: any;
useCase: any;
};
describeCertificateBundle: (
pemText: any,
nowMs: any,
) => {
certificates: {
ca: boolean;
expired: boolean;
issuer: string;
notAfter: string;
notBefore: string;
notYetValid: boolean;
selfSigned: boolean;
sha256: string;
subject: string;
}[];
unreadable: number;
};
describeDeviceAnchors: () => {};
describeIssuer: (
scopeId: any,
useCaseId: any,
) => {
certificatePem: any;
chainPem: any[];
imported: boolean;
intermediate: {
certificatePem: any;
notAfter: any;
subject: any;
thumbprint: any;
};
keyAlg: any;
notAfter: any;
notBefore: any;
root: {
certificatePem: any;
notAfter: any;
notBefore: any;
serialHex: any;
subject: any;
thumbprint: any;
};
scope: string;
serialHex: any;
signatureAlg: any;
signedWith: any;
subject: any;
thumbprint: any;
useCase: string;
};
describeScope: (
scopeId: any,
) => {
altKeyAlg: any;
built: boolean;
country: any;
intermediate: {
altKeyAlg: any;
altSignatureAlg: any;
certificatePem: any;
expired: boolean;
imported: boolean;
keyAlg: any;
label: any;
notAfter: any;
notBefore: any;
scope: any;
serialHex: any;
signatureAlg: any;
subject: any;
thumbprint: any;
tier: any;
useCase: any;
what: string;
};
issuing: {
built: boolean;
ca: {
altKeyAlg: any;
altSignatureAlg: any;
certificatePem: any;
expired: boolean;
imported: boolean;
keyAlg: any;
label: any;
notAfter: any;
notBefore: any;
scope: any;
serialHex: any;
signatureAlg: any;
subject: any;
thumbprint: any;
tier: any;
useCase: any;
what: string;
};
certified: {
alg: any;
certificatePem: any;
chainPem: any;
createdAt: any;
expired: boolean;
keyAlg: any;
label: any;
notAfter: any;
notBefore: any;
pinned: boolean;
serialHex: any;
signatureAlg: any;
slot: any;
subject: any;
thumbprint: any;
useCase: any;
}[];
id: string;
label: string;
what: string;
}[];
keyAlg: any;
kind: string;
label: string;
organisation: any;
scope: string;
signatureAlg: any;
};
describeTier: (
one: any,
) => {
altKeyAlg: any;
altSignatureAlg: any;
certificatePem: any;
expired: boolean;
imported: boolean;
keyAlg: any;
label: any;
notAfter: any;
notBefore: any;
scope: any;
serialHex: any;
signatureAlg: any;
subject: any;
thumbprint: any;
tier: any;
useCase: any;
what: string;
};
describeTree: (
realmIds: any,
) => {
organisation: any;
persisted: boolean;
root: {
altKeyAlg: any;
altSignatureAlg: any;
certificatePem: any;
expired: boolean;
imported: boolean;
keyAlg: any;
label: any;
notAfter: any;
notBefore: any;
scope: any;
serialHex: any;
signatureAlg: any;
subject: any;
thumbprint: any;
tier: any;
useCase: any;
what: string;
};
rootBuilt: boolean;
scopes: {
altKeyAlg: any;
built: boolean;
country: any;
intermediate: {
altKeyAlg: any;
altSignatureAlg: any;
certificatePem: any;
expired: boolean;
imported: boolean;
keyAlg: any;
label: any;
notAfter: any;
notBefore: any;
scope: any;
serialHex: any;
signatureAlg: any;
subject: any;
thumbprint: any;
tier: any;
useCase: any;
what: string;
};
issuing: {
built: boolean;
ca: {
altKeyAlg: any;
altSignatureAlg: any;
certificatePem: any;
expired: boolean;
imported: boolean;
keyAlg: any;
label: any;
notAfter: any;
notBefore: any;
scope: any;
serialHex: any;
signatureAlg: any;
subject: any;
thumbprint: any;
tier: any;
useCase: any;
what: string;
};
certified: {
alg: any;
certificatePem: any;
chainPem: any;
createdAt: any;
expired: boolean;
keyAlg: any;
label: any;
notAfter: any;
notBefore: any;
pinned: boolean;
serialHex: any;
signatureAlg: any;
slot: any;
subject: any;
thumbprint: any;
useCase: any;
}[];
id: string;
label: string;
what: string;
}[];
keyAlg: any;
kind: string;
label: string;
organisation: any;
scope: string;
signatureAlg: any;
}[];
useCases: { id: string; label: string; scope: string; what: string }[];
};
deviceAttestationAnchors: (
kind: any,
configuredPem: any,
) => { anchors: any[]; source: string };
displacedCertificatesFor: (scopeId: any, useCaseId: any) => any;
dropRetiredPinnedSigners: (
scopeId: any,
nowMs: any,
) => {
kid: any;
operatorCertificate: boolean;
serialHex: any;
slot: any;
subject: any;
useCase: any;
}[];
ENCRYPTION_KEY_ALGS: string[];
ensureRoot: (opts: any) => Promise<any>;
ensureScope: (scopeId: any, opts: any) => Promise<any>;
fidoMdsRoots: (anchorsPem: any) => any[];
forgetCertificate: (scopeId: any, useCaseId: any, slot: any) => any;
hasChain: (realmId: any) => boolean;
hasRoot: () => boolean;
heldCertificateCurrent: (
scopeId: any,
useCaseId: any,
held: any,
publicKeyPem: any,
) =>
| { current: boolean; why: string }
| { current: boolean; why?: undefined };
importCa: (scopeId: any, useCaseId: any, material: any) => Promise<any>;
issuedKeyPairsFor: (scopeId: any, useCaseId: any) => any;
issueEncryptionKeyPair: (realmId: any, opts: any) => Promise<any>;
issueEnrolled: (scopeId: any, useCaseId: any, spec: any) => Promise<any>;
issueKdcKeyPair: (scopeId: any, spec: any) => Promise<any>;
issueOutsideHierarchy: (spec: any) => Promise<{}>;
issuerFor: (realmId: any, issuerId: any) => any;
issuers: (realmId: any) => any[];
issueSigningKeyPair: (realmId: any, opts: any) => Promise<any>;
issueTlsServerKeyPair: (
scopeId: any,
useCaseId: any,
spec: any,
) => Promise<any>;
issueUnder: (scopeId: any, useCaseId: any, spec: any) => Promise<any>;
KDC_KEY_ALGS: string[];
keyAlgorithms: () => { id: string; kind: any; label: any }[];
keyUsageOf: (one: any) => Promise<any>;
knownScopes: () => string[];
leafLifetimeDays: () => number;
MAX_VERIFIER_CERTIFICATES: number;
maxObjects: () => number;
objectFor: (realmId: any, objectId: any) => any;
objects: (realmId: any) => any;
oneBuildInTheCluster: (
scopeId: any,
tier: any,
existing: any,
build: any,
options: any,
) => Promise<any>;
parseSshAuthorizedKey: (line: any) => any;
parseSshPublicKey: (blob: any) => any;
pathFactsOf: (one: any) => any;
pathPolicyOutcome: (
path: any,
opts: any,
) =>
| {
explicitPolicy: boolean;
ok: boolean;
userConstrainedPolicySet: any[];
why: any;
}
| {
explicitPolicy: boolean;
ok: boolean;
userConstrainedPolicySet: any;
why: string;
};
pathRuleProblem: (path: any, opts: any) => any;
pathSigned: (cert: any, issuer: any) => Promise<boolean>;
pathValidityProblem: (
path: any,
now: any,
skewMs: any,
) => { check: string; index: number; why: string };
peerChainProblem: (peer: any) => any;
pemToDer: (pem: any) => any;
pinKeyPair: (
scopeId: any,
useCaseId: any,
slot: any,
material: any,
options: any,
) => Promise<any>;
PINNED_SIGNER_USE_CASES: string[];
pinnedKeyFor: (
scopeId: any,
useCaseId: any,
slot: any,
) => {
certificatePem: any;
chainPem: any;
privateKeyPem: any;
publicKeyPem: any;
};
pinnedSignersFor: (scopeId: any, nowMs: any) => any[];
pinnedSignersOn: (scopeId: any) => boolean;
pinnedSigningKey: (
scopeId: any,
useCaseId: any,
slot: any,
kid: any,
) => any;
pinsBlockingSignersOff: (realmId: any, processWide: any) => any[];
PKINIT_SAN_OID: string;
pkinitCertificateFacts: (
der: any,
) => {
digitalSignature: boolean;
ekus: any;
issuer: any;
notAfter: Date;
notBefore: Date;
pkinitSans: any[];
signatureAlgorithm: string;
signatureDigest: any;
subject: any;
};
PQ_JOSE_IN_X509: {
"ML-DSA-44": { id: string };
"ML-DSA-44-Ed25519": { id: string };
"ML-DSA-44-ES256": { ecField: number; id: string };
"ML-DSA-65": { id: string };
"ML-DSA-65-Ed25519": { id: string };
"ML-DSA-65-ES256": { ecField: number; id: string };
"ML-DSA-87": { id: string };
"ML-DSA-87-Ed448": { id: string };
"ML-DSA-87-ES384": { ecField: number; id: string };
"SLH-DSA-SHA2-128s": { id: string };
"SLH-DSA-SHAKE-128s": { id: string };
};
pqJwkFromCertificate: (
certificatePem: any,
) => {
alg: string;
publicJwk: { alg: string; kty: string; pub: any; use: string };
};
pqSubjectPublicKeyPem: (alg: any, publicJwk: any) => string;
PROCESS_SCOPE: string;
processListenerAltSignatureProblem: (altKeyAlg: any, keyAlg: any) => any;
prose: () => any;
PROSE_ROUTES: string[];
publishedCertificateFor: (
scopeId: any,
useCaseId: any,
slot: any,
kid: any,
) => { certificatePem: any; chainPem: any };
publishStartupCrls: () => Promise<number>;
PURPOSE_IDS: string[];
purposeFor: (
id: any,
) => { id: string; label: string; profileUri: string; what: string };
PURPOSES: { id: string; label: string; profileUri: string; what: string }[];
putObject: (realmId: any, object: any) => any;
rawRowFor: (realmId: any) => any;
recertifyOrphanedSlots: (
scopeId: any,
slots: any,
) => Promise<{ failed: string[]; ok: boolean; recertified: number }>;
recertifyUseCase: (scopeId: any, useCaseId: any) => Promise<any>;
refreshScope: (scopeId: any) => any;
registerCertifiable: (spec: any) => boolean;
registerCertificate: (realmId: any, opts: any) => Promise<any>;
reissueUseCase: (scopeId: any, useCaseId: any) => Promise<any>;
removeObject: (realmId: any, objectId: any) => any;
repairBranch: (scopeId: any, opts: any) => Promise<any>;
report: (
realmId: any,
) => {
alternativeKeyAlgorithms: string[];
chain: {
altKeyAlg: any;
country: any;
createdAt: any;
issuedCount: any;
keyAlg: any;
organisation: any;
persisted: boolean;
realm: any;
signatureAlg: any;
tiers: any;
};
encoder: string;
keyAlgorithms: { id: string; kind: any; label: any }[];
residency: string;
revocation: string;
signatureAlgorithms: any[];
tiers: {
id: string;
keyUsage: any;
label: string;
pathLen: any;
profile: string;
what: string;
years: any;
}[];
};
reportPinsWithSignersOff: (realmIds: any) => number;
roomForObject: (realmId: any, objectId: any) => boolean;
rsaKeyBits: (one: any) => number;
saveRow: (realmId: any, row: any) => void;
scopeChainsToRoot: (scopeId: any) => any;
scopeKindOf: (scopeId: any) => "realm" | "process";
SERVICE_SCOPE: string;
serviceRoot: () => any;
signatureAlgorithms: (
keyAlgId: any,
) => { id: any; label: any; weak: boolean }[];
signerChainSummary: (verdict: any) => string;
sigstoreSignerFacts: (
der: any,
) => {
codeSigning: boolean;
issuer: string;
notAfter: number;
notBefore: number;
pem: any;
spki: any;
subject: any;
};
spkiOf: (one: any) => any;
SSH_HOST_CERT: number;
sshFingerprint: (key: any) => any;
start: (
opts: any,
) => Promise<
| {
branches?: undefined;
built: boolean;
certified?: undefined;
errors?: undefined;
ok: boolean;
}
| {
branches?: undefined;
built: boolean;
certified?: undefined;
errors: any;
ok: boolean;
}
| {
branches: number;
built: boolean;
certified: number;
errors?: undefined;
ok: boolean;
},
>;
SUBJECT_KIND_IDS: string[];
SUBJECT_KINDS: {
id: string;
kidPrefix: string;
label: string;
urnPrefix: string;
what: string;
}[];
subjectKindFor: (
id: any,
) => {
id: string;
kidPrefix: string;
label: string;
urnPrefix: string;
what: string;
};
thumbprintOf: (pem: any) => any;
TIER_IDS: string[];
TIERS: {
id: string;
label: string;
order: number;
profile: string;
what: string;
}[];
tierYearsFrom: (years: any, tier: any) => number;
TLS_SERVER_KEY_ALGS: string[];
trustAnchorsFor: (realmId: any) => any;
unpinKeyPair: (
scopeId: any,
useCaseId: any,
slot: any,
options: any,
) => any;
USE_CASE_IDS: string[];
USE_CASES: (
| {
cn: string;
id: string;
keyAlg?: undefined;
label: string;
multiCellOnly?: undefined;
pathLen?: undefined;
scope: string;
signatureAlg?: undefined;
what: string;
}
| {
cn: string;
id: string;
keyAlg?: undefined;
label: string;
multiCellOnly: boolean;
pathLen?: undefined;
scope: string;
signatureAlg?: undefined;
what: string;
}
| {
cn: string;
id: string;
keyAlg: string;
label: string;
multiCellOnly?: undefined;
pathLen: number;
scope: string;
signatureAlg: string;
what: string;
}
)[];
useCase: (
id: any,
) =>
| {
cn: string;
id: string;
keyAlg?: undefined;
label: string;
multiCellOnly?: undefined;
pathLen?: undefined;
scope: string;
signatureAlg?: undefined;
what: string;
}
| {
cn: string;
id: string;
keyAlg?: undefined;
label: string;
multiCellOnly: boolean;
pathLen?: undefined;
scope: string;
signatureAlg?: undefined;
what: string;
}
| {
cn: string;
id: string;
keyAlg: string;
label: string;
multiCellOnly?: undefined;
pathLen: number;
scope: string;
signatureAlg: string;
what: string;
};
useCasesFor: (
kind: any,
) => (
| {
cn: string;
id: string;
keyAlg?: undefined;
label: string;
multiCellOnly?: undefined;
pathLen?: undefined;
scope: string;
signatureAlg?: undefined;
what: string;
}
| {
cn: string;
id: string;
keyAlg?: undefined;
label: string;
multiCellOnly: boolean;
pathLen?: undefined;
scope: string;
signatureAlg?: undefined;
what: string;
}
| {
cn: string;
id: string;
keyAlg: string;
label: string;
multiCellOnly?: undefined;
pathLen: number;
scope: string;
signatureAlg: string;
what: string;
}
)[];
verifierCertificateFor: (
realmId: any,
dnsName: any,
publicKeyPem: any,
) => {
anchorPem: any;
certificatePem: any;
chainPem: any;
dnsName: string;
notAfter: any;
notBefore: any;
serialHex: any;
subject: any;
subjectKeyFingerprint: any;
};
verifyChain: (pems: any) => Promise<{}[]>;
verifyEmbeddedScts: (
leafDer: any,
issuerDer: any,
logs: any,
) => Promise<{ ok: boolean; why: string }>;
verifyFidoMdsBlob: (
token: any,
opts: any,
) => Promise<
| {
chainPems?: undefined;
header?: undefined;
ok: boolean;
overridden?: undefined;
payload?: undefined;
reason: string;
}
| {
chainPems: any;
header: any;
ok: boolean;
overridden: string;
payload: any;
reason?: undefined;
}
| {
chainPems: any;
header: any;
ok: boolean;
overridden?: undefined;
payload: any;
reason?: undefined;
},
>;
verifyIssuedDirectly: (
leafDer: any,
authorities: any,
opts: any,
) =>
| {
chain: { der: any; pem: any; sha1: any; x509: any }[];
check?: undefined;
index: number;
ok: boolean;
reason?: undefined;
}
| {
chain?: undefined;
check: any;
index?: undefined;
ok: boolean;
reason: any;
};
verifyLeaf: (
realmId: any,
leafPem: any,
presentedChainPems: any,
opts: any,
) => Promise<any>;
verifyPathToAnchors: (
leafDer: any,
intermediateDers: any,
anchors: any,
opts: any,
) => Promise<
{
chain?: any[];
check?: string;
ok: boolean;
policies?: string[];
reason?: string;
},
>;
verifySignerChain: (realmId: any, material: any) => Promise<any>;
verifySshSignature: (
key: any,
data: any,
signature: any,
) => Promise<boolean>;
get MAX_OBJECTS(): number;
}
Type Declaration
-
activePinnedSigner: (scopeId: any, useCaseId: any, slot: any, nowMs: any) => any
-
algorithmsFrom: (options: any) => any
-
alternativeKeyAlgs: () => string[]
-
alternativeProblem: (
pems: any,
links: any,
opts: any,
) => Promise<
| { algorithm: any; check: string; index: number; reason?: undefined }
| { algorithm?: undefined; check: string; index: number; reason: any }
| {
algorithm?: undefined;
check: string;
index: number;
reason?: undefined;
},
>
-
anchorProblem: (cert: any, options: any) => Promise<any>
-
anchorProblemSync: (cert: any, options: any) => any
-
attestationCertificateFacts: (
der: any,
) => {
ca: any;
curve: string;
eku: any[];
extensions: {};
keyType: string;
pem: any;
publicKeyJwk: any;
sanDirectoryTypes: any[];
subject: {};
subjectAltName: string;
subjectEmpty: boolean;
subjectText: string;
version: number;
}
-
attestationDeviceSerial: (der: any) => { serial: string; source: string }
-
attestationKeyIdentifier: (der: any) => any
-
attestationSignatureAlgorithm: (
der: any,
) => {
algorithm: string;
composite: boolean;
family: string;
oid: string;
postQuantum: boolean;
}
-
authorityCode: (problem: any, issuerCode: any) => any
-
awsIidCertificate: (region: any, keyType: any) => any
-
azureImdsRoots: () => any[]
-
buildChain: (realmId: any, opts: any) => Promise<any>
-
buildRoot: (opts: any) => Promise<any>
-
buildScope: (scopeId: any, opts: any) => Promise<any>
-
buildsRealmBranches: () => boolean
-
buildsSettled: () => any
-
certificateBundle: (pemText: any) => { certificates: any[]; unreadable: number }
-
certificateFor: (scopeId: any, useCaseId: any, slot: any, kid: any) => any
-
certificateFromDer: (der: any) => { der: any; pem: any; sha1: any; x509: any }
-
certificateSerialHex: (der: any) => string
-
certificatesFor: (scopeId: any, useCaseId: any) => any[]
-
certify: (scopeId: any, useCaseId: any, spec: any) => Promise<any>
-
certifyKeySet: (realmId: any, keys: any) => Promise<any>
-
certifyKeySetWhenBranched: (realmId: any, keys: any, stillCurrent: any) => Promise<any>
-
certifyPqKeys: (realmId: any, pqKeys: any, keepKids: any) => Promise<any>
-
certifyRegistered: (opts: any) => Promise<number>
-
certifySignerGroups: (realmId: any, members: any, attempt: any) => Promise<any>
-
certifyStandbyKeys: (realmId: any, keys: any) => Promise<{ certified: number; failed: string[] }>
-
certifyVerifierKey: (realmId: any, spec: any) => Promise<any>
-
chainPemFor: (realmId: any) => any
-
chainThroughRoot: (certificatePem: any, chainPem: any, opts: any) => any
-
checkSshHostCertificate: (
cert: any,
principal: any,
authorities: any,
nowSeconds: any,
) => Promise<string>
-
clearChain: (realmId: any) => any
-
clearObjects: (realmId: any) => any
-
csrProofOfPossession: (csr: any, spkiPem: any, desc: any) => Promise<boolean>
-
DEFAULT_KDC_KEY_ALG: string
-
DEFAULT_KEY_ALG: string
-
DEFAULT_SIG_ALG: string
-
DEFAULT_TLS_SERVER_KEY_ALG: string
-
defaultSignatureAlgorithmFor: (keyAlgId: any) => any
-
describe: (
realmId: any,
) => {
altKeyAlg: any;
country: any;
createdAt: any;
issuedCount: any;
keyAlg: any;
organisation: any;
persisted: boolean;
realm: any;
signatureAlg: any;
tiers: any;
}
-
describeCertificate: (
one: any,
) => {
alg: any;
certificatePem: any;
chainPem: any;
createdAt: any;
expired: boolean;
keyAlg: any;
label: any;
notAfter: any;
notBefore: any;
pinned: boolean;
serialHex: any;
signatureAlg: any;
slot: any;
subject: any;
thumbprint: any;
useCase: any;
}
-
describeCertificateBundle: (
pemText: any,
nowMs: any,
) => {
certificates: {
ca: boolean;
expired: boolean;
issuer: string;
notAfter: string;
notBefore: string;
notYetValid: boolean;
selfSigned: boolean;
sha256: string;
subject: string;
}[];
unreadable: number;
}
-
describeDeviceAnchors: () => {}
-
describeIssuer: (
scopeId: any,
useCaseId: any,
) => {
certificatePem: any;
chainPem: any[];
imported: boolean;
intermediate: {
certificatePem: any;
notAfter: any;
subject: any;
thumbprint: any;
};
keyAlg: any;
notAfter: any;
notBefore: any;
root: {
certificatePem: any;
notAfter: any;
notBefore: any;
serialHex: any;
subject: any;
thumbprint: any;
};
scope: string;
serialHex: any;
signatureAlg: any;
signedWith: any;
subject: any;
thumbprint: any;
useCase: string;
}
-
describeScope: (
scopeId: any,
) => {
altKeyAlg: any;
built: boolean;
country: any;
intermediate: {
altKeyAlg: any;
altSignatureAlg: any;
certificatePem: any;
expired: boolean;
imported: boolean;
keyAlg: any;
label: any;
notAfter: any;
notBefore: any;
scope: any;
serialHex: any;
signatureAlg: any;
subject: any;
thumbprint: any;
tier: any;
useCase: any;
what: string;
};
issuing: {
built: boolean;
ca: {
altKeyAlg: any;
altSignatureAlg: any;
certificatePem: any;
expired: boolean;
imported: boolean;
keyAlg: any;
label: any;
notAfter: any;
notBefore: any;
scope: any;
serialHex: any;
signatureAlg: any;
subject: any;
thumbprint: any;
tier: any;
useCase: any;
what: string;
};
certified: {
alg: any;
certificatePem: any;
chainPem: any;
createdAt: any;
expired: boolean;
keyAlg: any;
label: any;
notAfter: any;
notBefore: any;
pinned: boolean;
serialHex: any;
signatureAlg: any;
slot: any;
subject: any;
thumbprint: any;
useCase: any;
}[];
id: string;
label: string;
what: string;
}[];
keyAlg: any;
kind: string;
label: string;
organisation: any;
scope: string;
signatureAlg: any;
}
-
describeTier: (
one: any,
) => {
altKeyAlg: any;
altSignatureAlg: any;
certificatePem: any;
expired: boolean;
imported: boolean;
keyAlg: any;
label: any;
notAfter: any;
notBefore: any;
scope: any;
serialHex: any;
signatureAlg: any;
subject: any;
thumbprint: any;
tier: any;
useCase: any;
what: string;
}
-
describeTree: (
realmIds: any,
) => {
organisation: any;
persisted: boolean;
root: {
altKeyAlg: any;
altSignatureAlg: any;
certificatePem: any;
expired: boolean;
imported: boolean;
keyAlg: any;
label: any;
notAfter: any;
notBefore: any;
scope: any;
serialHex: any;
signatureAlg: any;
subject: any;
thumbprint: any;
tier: any;
useCase: any;
what: string;
};
rootBuilt: boolean;
scopes: {
altKeyAlg: any;
built: boolean;
country: any;
intermediate: {
altKeyAlg: any;
altSignatureAlg: any;
certificatePem: any;
expired: boolean;
imported: boolean;
keyAlg: any;
label: any;
notAfter: any;
notBefore: any;
scope: any;
serialHex: any;
signatureAlg: any;
subject: any;
thumbprint: any;
tier: any;
useCase: any;
what: string;
};
issuing: {
built: boolean;
ca: {
altKeyAlg: any;
altSignatureAlg: any;
certificatePem: any;
expired: boolean;
imported: boolean;
keyAlg: any;
label: any;
notAfter: any;
notBefore: any;
scope: any;
serialHex: any;
signatureAlg: any;
subject: any;
thumbprint: any;
tier: any;
useCase: any;
what: string;
};
certified: {
alg: any;
certificatePem: any;
chainPem: any;
createdAt: any;
expired: boolean;
keyAlg: any;
label: any;
notAfter: any;
notBefore: any;
pinned: boolean;
serialHex: any;
signatureAlg: any;
slot: any;
subject: any;
thumbprint: any;
useCase: any;
}[];
id: string;
label: string;
what: string;
}[];
keyAlg: any;
kind: string;
label: string;
organisation: any;
scope: string;
signatureAlg: any;
}[];
useCases: { id: string; label: string; scope: string; what: string }[];
}
-
deviceAttestationAnchors: (kind: any, configuredPem: any) => { anchors: any[]; source: string }
-
displacedCertificatesFor: (scopeId: any, useCaseId: any) => any
-
dropRetiredPinnedSigners: (
scopeId: any,
nowMs: any,
) => {
kid: any;
operatorCertificate: boolean;
serialHex: any;
slot: any;
subject: any;
useCase: any;
}[]
-
ENCRYPTION_KEY_ALGS: string[]
-
ensureRoot: (opts: any) => Promise<any>
-
ensureScope: (scopeId: any, opts: any) => Promise<any>
-
fidoMdsRoots: (anchorsPem: any) => any[]
-
forgetCertificate: (scopeId: any, useCaseId: any, slot: any) => any
-
hasChain: (realmId: any) => boolean
-
hasRoot: () => boolean
-
heldCertificateCurrent: (
scopeId: any,
useCaseId: any,
held: any,
publicKeyPem: any,
) =>
| { current: boolean; why: string }
| { current: boolean; why?: undefined }
-
importCa: (scopeId: any, useCaseId: any, material: any) => Promise<any>
-
issuedKeyPairsFor: (scopeId: any, useCaseId: any) => any
-
issueEncryptionKeyPair: (realmId: any, opts: any) => Promise<any>
-
issueEnrolled: (scopeId: any, useCaseId: any, spec: any) => Promise<any>
-
issueKdcKeyPair: (scopeId: any, spec: any) => Promise<any>
-
issueOutsideHierarchy: (spec: any) => Promise<{}>
-
issuerFor: (realmId: any, issuerId: any) => any
-
issuers: (realmId: any) => any[]
-
issueSigningKeyPair: (realmId: any, opts: any) => Promise<any>
-
issueTlsServerKeyPair: (scopeId: any, useCaseId: any, spec: any) => Promise<any>
-
issueUnder: (scopeId: any, useCaseId: any, spec: any) => Promise<any>
-
KDC_KEY_ALGS: string[]
-
keyAlgorithms: () => { id: string; kind: any; label: any }[]
-
keyUsageOf: (one: any) => Promise<any>
-
knownScopes: () => string[]
-
leafLifetimeDays: () => number
-
MAX_VERIFIER_CERTIFICATES: number
-
maxObjects: () => number
-
objectFor: (realmId: any, objectId: any) => any
-
objects: (realmId: any) => any
-
oneBuildInTheCluster: (
scopeId: any,
tier: any,
existing: any,
build: any,
options: any,
) => Promise<any>
-
parseSshAuthorizedKey: (line: any) => any
-
parseSshPublicKey: (blob: any) => any
-
pathFactsOf: (one: any) => any
-
pathPolicyOutcome: (
path: any,
opts: any,
) =>
| {
explicitPolicy: boolean;
ok: boolean;
userConstrainedPolicySet: any[];
why: any;
}
| {
explicitPolicy: boolean;
ok: boolean;
userConstrainedPolicySet: any;
why: string;
}
-
pathRuleProblem: (path: any, opts: any) => any
-
pathSigned: (cert: any, issuer: any) => Promise<boolean>
-
pathValidityProblem: (
path: any,
now: any,
skewMs: any,
) => { check: string; index: number; why: string }
-
peerChainProblem: (peer: any) => any
-
pemToDer: (pem: any) => any
-
pinKeyPair: (
scopeId: any,
useCaseId: any,
slot: any,
material: any,
options: any,
) => Promise<any>
-
PINNED_SIGNER_USE_CASES: string[]
-
pinnedKeyFor: (
scopeId: any,
useCaseId: any,
slot: any,
) => {
certificatePem: any;
chainPem: any;
privateKeyPem: any;
publicKeyPem: any;
}
-
pinnedSignersFor: (scopeId: any, nowMs: any) => any[]
-
pinnedSignersOn: (scopeId: any) => boolean
-
pinnedSigningKey: (scopeId: any, useCaseId: any, slot: any, kid: any) => any
-
pinsBlockingSignersOff: (realmId: any, processWide: any) => any[]
-
PKINIT_SAN_OID: string
-
pkinitCertificateFacts: (
der: any,
) => {
digitalSignature: boolean;
ekus: any;
issuer: any;
notAfter: Date;
notBefore: Date;
pkinitSans: any[];
signatureAlgorithm: string;
signatureDigest: any;
subject: any;
}
-
PQ_JOSE_IN_X509: {
"ML-DSA-44": { id: string };
"ML-DSA-44-Ed25519": { id: string };
"ML-DSA-44-ES256": { ecField: number; id: string };
"ML-DSA-65": { id: string };
"ML-DSA-65-Ed25519": { id: string };
"ML-DSA-65-ES256": { ecField: number; id: string };
"ML-DSA-87": { id: string };
"ML-DSA-87-Ed448": { id: string };
"ML-DSA-87-ES384": { ecField: number; id: string };
"SLH-DSA-SHA2-128s": { id: string };
"SLH-DSA-SHAKE-128s": { id: string };
}
-
pqJwkFromCertificate: (
certificatePem: any,
) => {
alg: string;
publicJwk: { alg: string; kty: string; pub: any; use: string };
}
-
pqSubjectPublicKeyPem: (alg: any, publicJwk: any) => string
-
PROCESS_SCOPE: string
-
processListenerAltSignatureProblem: (altKeyAlg: any, keyAlg: any) => any
-
prose: () => any
-
PROSE_ROUTES: string[]
-
publishedCertificateFor: (
scopeId: any,
useCaseId: any,
slot: any,
kid: any,
) => { certificatePem: any; chainPem: any }
-
publishStartupCrls: () => Promise<number>
-
PURPOSE_IDS: string[]
-
purposeFor: (id: any) => { id: string; label: string; profileUri: string; what: string }
-
PURPOSES: { id: string; label: string; profileUri: string; what: string }[]
-
putObject: (realmId: any, object: any) => any
-
rawRowFor: (realmId: any) => any
-
recertifyOrphanedSlots: (
scopeId: any,
slots: any,
) => Promise<{ failed: string[]; ok: boolean; recertified: number }>
-
recertifyUseCase: (scopeId: any, useCaseId: any) => Promise<any>
-
refreshScope: (scopeId: any) => any
-
registerCertifiable: (spec: any) => boolean
-
registerCertificate: (realmId: any, opts: any) => Promise<any>
-
reissueUseCase: (scopeId: any, useCaseId: any) => Promise<any>
-
removeObject: (realmId: any, objectId: any) => any
-
repairBranch: (scopeId: any, opts: any) => Promise<any>
-
report: (
realmId: any,
) => {
alternativeKeyAlgorithms: string[];
chain: {
altKeyAlg: any;
country: any;
createdAt: any;
issuedCount: any;
keyAlg: any;
organisation: any;
persisted: boolean;
realm: any;
signatureAlg: any;
tiers: any;
};
encoder: string;
keyAlgorithms: { id: string; kind: any; label: any }[];
residency: string;
revocation: string;
signatureAlgorithms: any[];
tiers: {
id: string;
keyUsage: any;
label: string;
pathLen: any;
profile: string;
what: string;
years: any;
}[];
}
-
reportPinsWithSignersOff: (realmIds: any) => number
-
roomForObject: (realmId: any, objectId: any) => boolean
-
rsaKeyBits: (one: any) => number
-
saveRow: (realmId: any, row: any) => void
-
scopeChainsToRoot: (scopeId: any) => any
-
scopeKindOf: (scopeId: any) => "realm" | "process"
-
SERVICE_SCOPE: string
-
serviceRoot: () => any
-
signatureAlgorithms: (keyAlgId: any) => { id: any; label: any; weak: boolean }[]
-
signerChainSummary: (verdict: any) => string
-
sigstoreSignerFacts: (
der: any,
) => {
codeSigning: boolean;
issuer: string;
notAfter: number;
notBefore: number;
pem: any;
spki: any;
subject: any;
}
-
spkiOf: (one: any) => any
-
SSH_HOST_CERT: number
-
sshFingerprint: (key: any) => any
-
start: (
opts: any,
) => Promise<
| {
branches?: undefined;
built: boolean;
certified?: undefined;
errors?: undefined;
ok: boolean;
}
| {
branches?: undefined;
built: boolean;
certified?: undefined;
errors: any;
ok: boolean;
}
| {
branches: number;
built: boolean;
certified: number;
errors?: undefined;
ok: boolean;
},
>
-
SUBJECT_KIND_IDS: string[]
-
SUBJECT_KINDS: {
id: string;
kidPrefix: string;
label: string;
urnPrefix: string;
what: string;
}[]
-
subjectKindFor: (
id: any,
) => {
id: string;
kidPrefix: string;
label: string;
urnPrefix: string;
what: string;
}
-
thumbprintOf: (pem: any) => any
-
TIER_IDS: string[]
-
TIERS: { id: string; label: string; order: number; profile: string; what: string }[]
-
tierYearsFrom: (years: any, tier: any) => number
-
TLS_SERVER_KEY_ALGS: string[]
-
trustAnchorsFor: (realmId: any) => any
-
unpinKeyPair: (scopeId: any, useCaseId: any, slot: any, options: any) => any
-
USE_CASE_IDS: string[]
-
USE_CASES: (
| {
cn: string;
id: string;
keyAlg?: undefined;
label: string;
multiCellOnly?: undefined;
pathLen?: undefined;
scope: string;
signatureAlg?: undefined;
what: string;
}
| {
cn: string;
id: string;
keyAlg?: undefined;
label: string;
multiCellOnly: boolean;
pathLen?: undefined;
scope: string;
signatureAlg?: undefined;
what: string;
}
| {
cn: string;
id: string;
keyAlg: string;
label: string;
multiCellOnly?: undefined;
pathLen: number;
scope: string;
signatureAlg: string;
what: string;
}
)[]
-
useCase: (
id: any,
) =>
| {
cn: string;
id: string;
keyAlg?: undefined;
label: string;
multiCellOnly?: undefined;
pathLen?: undefined;
scope: string;
signatureAlg?: undefined;
what: string;
}
| {
cn: string;
id: string;
keyAlg?: undefined;
label: string;
multiCellOnly: boolean;
pathLen?: undefined;
scope: string;
signatureAlg?: undefined;
what: string;
}
| {
cn: string;
id: string;
keyAlg: string;
label: string;
multiCellOnly?: undefined;
pathLen: number;
scope: string;
signatureAlg: string;
what: string;
}
-
useCasesFor: (
kind: any,
) => (
| {
cn: string;
id: string;
keyAlg?: undefined;
label: string;
multiCellOnly?: undefined;
pathLen?: undefined;
scope: string;
signatureAlg?: undefined;
what: string;
}
| {
cn: string;
id: string;
keyAlg?: undefined;
label: string;
multiCellOnly: boolean;
pathLen?: undefined;
scope: string;
signatureAlg?: undefined;
what: string;
}
| {
cn: string;
id: string;
keyAlg: string;
label: string;
multiCellOnly?: undefined;
pathLen: number;
scope: string;
signatureAlg: string;
what: string;
}
)[]
-
verifierCertificateFor: (
realmId: any,
dnsName: any,
publicKeyPem: any,
) => {
anchorPem: any;
certificatePem: any;
chainPem: any;
dnsName: string;
notAfter: any;
notBefore: any;
serialHex: any;
subject: any;
subjectKeyFingerprint: any;
}
-
verifyChain: (pems: any) => Promise<{}[]>
-
verifyEmbeddedScts: (
leafDer: any,
issuerDer: any,
logs: any,
) => Promise<{ ok: boolean; why: string }>
-
verifyFidoMdsBlob: (
token: any,
opts: any,
) => Promise<
| {
chainPems?: undefined;
header?: undefined;
ok: boolean;
overridden?: undefined;
payload?: undefined;
reason: string;
}
| {
chainPems: any;
header: any;
ok: boolean;
overridden: string;
payload: any;
reason?: undefined;
}
| {
chainPems: any;
header: any;
ok: boolean;
overridden?: undefined;
payload: any;
reason?: undefined;
},
>
-
verifyIssuedDirectly: (
leafDer: any,
authorities: any,
opts: any,
) =>
| {
chain: { der: any; pem: any; sha1: any; x509: any }[];
check?: undefined;
index: number;
ok: boolean;
reason?: undefined;
}
| {
chain?: undefined;
check: any;
index?: undefined;
ok: boolean;
reason: any;
}
-
verifyLeaf: (realmId: any, leafPem: any, presentedChainPems: any, opts: any) => Promise<any>
-
verifyPathToAnchors: (
leafDer: any,
intermediateDers: any,
anchors: any,
opts: any,
) => Promise<
{
chain?: any[];
check?: string;
ok: boolean;
policies?: string[];
reason?: string;
},
>
-
verifySignerChain: (realmId: any, material: any) => Promise<any>
-
verifySshSignature: (key: any, data: any, signature: any) => Promise<boolean>
-
get MAX_OBJECTS(): number
Lands this process's queued writes of a scope's row and takes what the store holds, where the store arbitrates.