estView: (
req: any,
) => {
actions: string[];
authentication: {
basic: boolean;
certificate: boolean;
credentials: { kind: string; managedAt: string; what: string }[];
serverKeyGeneration: boolean;
};
certificates: {
paging: {
firstRow: any;
lastRow: any;
page: any;
pages: any;
perPage: any;
total: any;
};
rows: unknown[];
};
csrAttributes: { signatureAlgorithms: { name: string; oid: string }[] };
defaultProfile: string;
enabled: boolean;
endpoints: {
labelFormUrl: string;
method: string;
operation: string;
section: string;
url: string;
what: string;
}[];
hierarchy: {
authority: {
certificatePem: any;
keyAlg: any;
notAfter: any;
notBefore: any;
serialHex: any;
subject: any;
thumbprint: any;
};
built: boolean;
chainPem: any[];
note: string;
};
hostNames: any[];
keyAlgorithms: string[];
labelForm: { base: string; note: string };
mode: {
current: string;
development: string;
product: string;
where: string;
};
monitor: string;
page: string;
profiles: {
allowed: boolean;
id: string;
isDefault: boolean;
needs: any;
urls: {};
}[];
refusedProfiles: { id: string; why: string }[];
revocationReasons: string[];
settings: any;
specifications: string[];
title: string;
} = ...
Type Declaration
-
- (
req: any,
): {
actions: string[];
authentication: {
basic: boolean;
certificate: boolean;
credentials: { kind: string; managedAt: string; what: string }[];
serverKeyGeneration: boolean;
};
certificates: {
paging: {
firstRow: any;
lastRow: any;
page: any;
pages: any;
perPage: any;
total: any;
};
rows: unknown[];
};
csrAttributes: { signatureAlgorithms: { name: string; oid: string }[] };
defaultProfile: string;
enabled: boolean;
endpoints: {
labelFormUrl: string;
method: string;
operation: string;
section: string;
url: string;
what: string;
}[];
hierarchy: {
authority: {
certificatePem: any;
keyAlg: any;
notAfter: any;
notBefore: any;
serialHex: any;
subject: any;
thumbprint: any;
};
built: boolean;
chainPem: any[];
note: string;
};
hostNames: any[];
keyAlgorithms: string[];
labelForm: { base: string; note: string };
mode: {
current: string;
development: string;
product: string;
where: string;
};
monitor: string;
page: string;
profiles: {
allowed: boolean;
id: string;
isDefault: boolean;
needs: any;
urls: {};
}[];
refusedProfiles: { id: string; why: string }[];
revocationReasons: string[];
settings: any;
specifications: string[];
title: string;
}
-
Returns {
actions: string[];
authentication: {
basic: boolean;
certificate: boolean;
credentials: { kind: string; managedAt: string; what: string }[];
serverKeyGeneration: boolean;
};
certificates: {
paging: {
firstRow: any;
lastRow: any;
page: any;
pages: any;
perPage: any;
total: any;
};
rows: unknown[];
};
csrAttributes: { signatureAlgorithms: { name: string; oid: string }[] };
defaultProfile: string;
enabled: boolean;
endpoints: {
labelFormUrl: string;
method: string;
operation: string;
section: string;
url: string;
what: string;
}[];
hierarchy: {
authority: {
certificatePem: any;
keyAlg: any;
notAfter: any;
notBefore: any;
serialHex: any;
subject: any;
thumbprint: any;
};
built: boolean;
chainPem: any[];
note: string;
};
hostNames: any[];
keyAlgorithms: string[];
labelForm: { base: string; note: string };
mode: {
current: string;
development: string;
product: string;
where: string;
};
monitor: string;
page: string;
profiles: {
allowed: boolean;
id: string;
isDefault: boolean;
needs: any;
urls: {};
}[];
refusedProfiles: { id: string; why: string }[];
revocationReasons: string[];
settings: any;
specifications: string[];
title: string;
}
the view
Builds what
/admin/estdraws andGET /admin-api/estanswers: the endpoints (and the label form), the Issuing CA, authentication, the profiles, host names, enrolled certificates, CSR attributes, the mode and the settings.