scepView: (
req: any,
) => {
actions: string[];
algorithms: {
ciphers: any[];
digests: any[];
keyTransports: string[];
refusedCiphers: any[];
refusedDigests: any[];
replyCipher: string;
replyKeyTransport: string;
replySignature: string;
signatures: any[];
};
authority: {
certificatePem: any;
intermediate: { notAfter: any; subject: any };
keyAlg: any;
notAfter: any;
notBefore: any;
root: { notAfter: any; subject: any };
serialHex: any;
signatureAlg: any;
subject: any;
thumbprint: any;
};
authorityNote: string;
capabilities: string[];
certificates: {
paging: {
firstRow: any;
lastRow: any;
page: any;
pages: any;
perPage: any;
total: any;
};
rows: unknown[];
};
challenges: {
paging: {
firstRow: any;
lastRow: any;
page: any;
pages: any;
perPage: any;
total: any;
};
rows: {
createdAt: any;
createdBy: any;
entry: any;
entryUri: any;
expiresAt: any;
id: any;
profile: any;
status: any;
url: string;
usedAt: any;
}[];
};
defaultProfile: string;
enabled: boolean;
endpoints: {
cgi: string;
getCaCaps: string;
getCaCert: string;
pkiOperation: string;
scep: string;
};
exceptions: { what: string; why: string }[];
hierarchyBuilt: boolean;
hostNames: any[];
messageTypes: {
"17": string;
"19": string;
"20": string;
"21": string;
"22": string;
"3": string;
};
mode: {
mode: string;
requirement: | {
development: string;
id: string;
product: string;
what: string;
where: string;
}
| {
development: string;
id: string;
product: string;
what: string;
where?: undefined;
};
scep: string;
};
operations: string[];
page: string;
profiles: {
allowed: boolean;
id: string;
keys: string;
needs: any;
url: string;
}[];
ra: | {
certificatePem?: undefined;
keyAlgorithm: string;
notAfter?: undefined;
notBefore?: undefined;
present: boolean;
serialHex?: undefined;
status: string;
subject?: undefined;
thumbprint?: undefined;
wantedKeyAlgorithm?: undefined;
}
| {
certificatePem: any;
keyAlgorithm: string;
notAfter: any;
notBefore: any;
present: boolean;
serialHex: any;
status: string;
subject: any;
thumbprint: any;
wantedKeyAlgorithm: string;
};
realm: any;
refusedProfiles: RefusedProfile[];
revokeReasons: string[];
settings: any;
specifications: string[];
title: string;
} = ...
Type Declaration
-
- (
req: any,
): {
actions: string[];
algorithms: {
ciphers: any[];
digests: any[];
keyTransports: string[];
refusedCiphers: any[];
refusedDigests: any[];
replyCipher: string;
replyKeyTransport: string;
replySignature: string;
signatures: any[];
};
authority: {
certificatePem: any;
intermediate: { notAfter: any; subject: any };
keyAlg: any;
notAfter: any;
notBefore: any;
root: { notAfter: any; subject: any };
serialHex: any;
signatureAlg: any;
subject: any;
thumbprint: any;
};
authorityNote: string;
capabilities: string[];
certificates: {
paging: {
firstRow: any;
lastRow: any;
page: any;
pages: any;
perPage: any;
total: any;
};
rows: unknown[];
};
challenges: {
paging: {
firstRow: any;
lastRow: any;
page: any;
pages: any;
perPage: any;
total: any;
};
rows: {
createdAt: any;
createdBy: any;
entry: any;
entryUri: any;
expiresAt: any;
id: any;
profile: any;
status: any;
url: string;
usedAt: any;
}[];
};
defaultProfile: string;
enabled: boolean;
endpoints: {
cgi: string;
getCaCaps: string;
getCaCert: string;
pkiOperation: string;
scep: string;
};
exceptions: { what: string; why: string }[];
hierarchyBuilt: boolean;
hostNames: any[];
messageTypes: {
"17": string;
"19": string;
"20": string;
"21": string;
"22": string;
"3": string;
};
mode: {
mode: string;
requirement: | {
development: string;
id: string;
product: string;
what: string;
where: string;
}
| {
development: string;
id: string;
product: string;
what: string;
where?: undefined;
};
scep: string;
};
operations: string[];
page: string;
profiles: {
allowed: boolean;
id: string;
keys: string;
needs: any;
url: string;
}[];
ra: | {
certificatePem?: undefined;
keyAlgorithm: string;
notAfter?: undefined;
notBefore?: undefined;
present: boolean;
serialHex?: undefined;
status: string;
subject?: undefined;
thumbprint?: undefined;
wantedKeyAlgorithm?: undefined;
}
| {
certificatePem: any;
keyAlgorithm: string;
notAfter: any;
notBefore: any;
present: boolean;
serialHex: any;
status: string;
subject: any;
thumbprint: any;
wantedKeyAlgorithm: string;
};
realm: any;
refusedProfiles: RefusedProfile[];
revokeReasons: string[];
settings: any;
specifications: string[];
title: string;
}
-
Returns {
actions: string[];
algorithms: {
ciphers: any[];
digests: any[];
keyTransports: string[];
refusedCiphers: any[];
refusedDigests: any[];
replyCipher: string;
replyKeyTransport: string;
replySignature: string;
signatures: any[];
};
authority: {
certificatePem: any;
intermediate: { notAfter: any; subject: any };
keyAlg: any;
notAfter: any;
notBefore: any;
root: { notAfter: any; subject: any };
serialHex: any;
signatureAlg: any;
subject: any;
thumbprint: any;
};
authorityNote: string;
capabilities: string[];
certificates: {
paging: {
firstRow: any;
lastRow: any;
page: any;
pages: any;
perPage: any;
total: any;
};
rows: unknown[];
};
challenges: {
paging: {
firstRow: any;
lastRow: any;
page: any;
pages: any;
perPage: any;
total: any;
};
rows: {
createdAt: any;
createdBy: any;
entry: any;
entryUri: any;
expiresAt: any;
id: any;
profile: any;
status: any;
url: string;
usedAt: any;
}[];
};
defaultProfile: string;
enabled: boolean;
endpoints: {
cgi: string;
getCaCaps: string;
getCaCert: string;
pkiOperation: string;
scep: string;
};
exceptions: { what: string; why: string }[];
hierarchyBuilt: boolean;
hostNames: any[];
messageTypes: {
"17": string;
"19": string;
"20": string;
"21": string;
"22": string;
"3": string;
};
mode: {
mode: string;
requirement: | {
development: string;
id: string;
product: string;
what: string;
where: string;
}
| {
development: string;
id: string;
product: string;
what: string;
where?: undefined;
};
scep: string;
};
operations: string[];
page: string;
profiles: {
allowed: boolean;
id: string;
keys: string;
needs: any;
url: string;
}[];
ra: | {
certificatePem?: undefined;
keyAlgorithm: string;
notAfter?: undefined;
notBefore?: undefined;
present: boolean;
serialHex?: undefined;
status: string;
subject?: undefined;
thumbprint?: undefined;
wantedKeyAlgorithm?: undefined;
}
| {
certificatePem: any;
keyAlgorithm: string;
notAfter: any;
notBefore: any;
present: boolean;
serialHex: any;
status: string;
subject: any;
thumbprint: any;
wantedKeyAlgorithm: string;
};
realm: any;
refusedProfiles: RefusedProfile[];
revokeReasons: string[];
settings: any;
specifications: string[];
title: string;
}
the view
Builds everything
/admin/scepdraws andGET /admin-api/scepanswers: endpoints, Issuing CA, RA certificate, profiles, challenges, host names, certificates and settings.