extensionsFrom: (
draft: Draft,
) => {
authorityInfoAccess: {
critical: boolean;
entries: any[];
present: boolean;
};
authorityKeyIdentifier: {
critical: boolean;
includeIssuerAndSerial: boolean;
present: boolean;
};
basicConstraints: {
ca: boolean;
critical: boolean;
pathLen: string;
present: boolean;
};
certificatePolicies: {
critical: boolean;
policies: any[];
present: boolean;
};
cRLDistributionPoints: {
critical: boolean;
present: boolean;
urls: string[];
};
custom: any[];
extKeyUsage: { critical: boolean; present: boolean; usages: any };
freshestCRL: { critical: boolean; present: boolean; urls: string[] };
inhibitAnyPolicy: {
critical: boolean;
present: boolean;
skipCerts: string;
};
issuerAltName: { critical: boolean; names: any[]; present: boolean };
keyUsage: { critical: boolean; present: boolean; usages: any };
nameConstraints: {
critical: boolean;
excluded: any[];
permitted: any[];
present: boolean;
};
netscapeCertType: { critical: boolean; present: boolean; types: any };
netscapeComment: { critical: boolean; present: boolean; text: string };
ocspNoCheck: { critical: boolean; present: boolean };
policyConstraints: {
critical: boolean;
inhibitPolicyMapping: string;
present: boolean;
requireExplicitPolicy: string;
};
policyMappings: { critical: boolean; mappings: any[]; present: boolean };
privateKeyUsagePeriod: {
critical: boolean;
notAfter: string;
notBefore: string;
present: boolean;
};
subjectAltName: { critical: boolean; names: any[]; present: boolean };
subjectInfoAccess: { critical: boolean; entries: any[]; present: boolean };
subjectKeyIdentifier: { critical: boolean; present: boolean };
tlsFeature: { critical: boolean; features: string[]; present: boolean };
} = ...
Type Declaration
-
- (
draft: Draft,
): {
authorityInfoAccess: {
critical: boolean;
entries: any[];
present: boolean;
};
authorityKeyIdentifier: {
critical: boolean;
includeIssuerAndSerial: boolean;
present: boolean;
};
basicConstraints: {
ca: boolean;
critical: boolean;
pathLen: string;
present: boolean;
};
certificatePolicies: {
critical: boolean;
policies: any[];
present: boolean;
};
cRLDistributionPoints: {
critical: boolean;
present: boolean;
urls: string[];
};
custom: any[];
extKeyUsage: { critical: boolean; present: boolean; usages: any };
freshestCRL: { critical: boolean; present: boolean; urls: string[] };
inhibitAnyPolicy: {
critical: boolean;
present: boolean;
skipCerts: string;
};
issuerAltName: { critical: boolean; names: any[]; present: boolean };
keyUsage: { critical: boolean; present: boolean; usages: any };
nameConstraints: {
critical: boolean;
excluded: any[];
permitted: any[];
present: boolean;
};
netscapeCertType: { critical: boolean; present: boolean; types: any };
netscapeComment: { critical: boolean; present: boolean; text: string };
ocspNoCheck: { critical: boolean; present: boolean };
policyConstraints: {
critical: boolean;
inhibitPolicyMapping: string;
present: boolean;
requireExplicitPolicy: string;
};
policyMappings: { critical: boolean; mappings: any[]; present: boolean };
privateKeyUsagePeriod: {
critical: boolean;
notAfter: string;
notBefore: string;
present: boolean;
};
subjectAltName: { critical: boolean; names: any[]; present: boolean };
subjectInfoAccess: { critical: boolean; entries: any[]; present: boolean };
subjectKeyIdentifier: { critical: boolean; present: boolean };
tlsFeature: { critical: boolean; features: string[]; present: boolean };
}
-
Returns {
authorityInfoAccess: {
critical: boolean;
entries: any[];
present: boolean;
};
authorityKeyIdentifier: {
critical: boolean;
includeIssuerAndSerial: boolean;
present: boolean;
};
basicConstraints: {
ca: boolean;
critical: boolean;
pathLen: string;
present: boolean;
};
certificatePolicies: {
critical: boolean;
policies: any[];
present: boolean;
};
cRLDistributionPoints: {
critical: boolean;
present: boolean;
urls: string[];
};
custom: any[];
extKeyUsage: { critical: boolean; present: boolean; usages: any };
freshestCRL: { critical: boolean; present: boolean; urls: string[] };
inhibitAnyPolicy: {
critical: boolean;
present: boolean;
skipCerts: string;
};
issuerAltName: { critical: boolean; names: any[]; present: boolean };
keyUsage: { critical: boolean; present: boolean; usages: any };
nameConstraints: {
critical: boolean;
excluded: any[];
permitted: any[];
present: boolean;
};
netscapeCertType: { critical: boolean; present: boolean; types: any };
netscapeComment: { critical: boolean; present: boolean; text: string };
ocspNoCheck: { critical: boolean; present: boolean };
policyConstraints: {
critical: boolean;
inhibitPolicyMapping: string;
present: boolean;
requireExplicitPolicy: string;
};
policyMappings: { critical: boolean; mappings: any[]; present: boolean };
privateKeyUsagePeriod: {
critical: boolean;
notAfter: string;
notBefore: string;
present: boolean;
};
subjectAltName: { critical: boolean; names: any[]; present: boolean };
subjectInfoAccess: { critical: boolean; entries: any[]; present: boolean };
subjectKeyIdentifier: { critical: boolean; present: boolean };
tlsFeature: { critical: boolean; features: string[]; present: boolean };
}
the extensions, by name
Builds the whole extension set from the draft, in the shape
x509.issueCertificate()takes.