mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-28 05:59:42 -08:00
42 lines
1,006 B
TypeScript
42 lines
1,006 B
TypeScript
|
export interface ICertficateRequest {
|
||
|
isVaaSGenerated?: boolean;
|
||
|
csrAttributes?: ICsrAttributes;
|
||
|
applicationServerTypeId?: string;
|
||
|
certificateSigningRequest?: string;
|
||
|
applicationId?: string;
|
||
|
certificateIssuingTemplateId?: string;
|
||
|
certficateOwnerUserId?: string;
|
||
|
validityPeriod?: string;
|
||
|
}
|
||
|
|
||
|
export interface ICsrAttributes {
|
||
|
commonName?: string;
|
||
|
organization?: string;
|
||
|
organizationalUnits?: string[];
|
||
|
locality?: string;
|
||
|
state?: string;
|
||
|
country?: string;
|
||
|
keyTypeParameters?: IKeyTypeParameters;
|
||
|
subjectAlternativeNamesByType?: ISubjectAltNamesByType;
|
||
|
}
|
||
|
|
||
|
export interface IKeyTypeParameters {
|
||
|
keyType?: string;
|
||
|
keyCurve?: string;
|
||
|
keyLength?: number;
|
||
|
}
|
||
|
|
||
|
export interface ISubjectAltNamesByType {
|
||
|
dnsNames?: string[];
|
||
|
rfc822Names?: string[];
|
||
|
ipAddresses?: string[];
|
||
|
uniformResourceIdentifiers?: string[];
|
||
|
}
|
||
|
|
||
|
export interface ICertficateKeystoreRequest {
|
||
|
exportFormat?: string;
|
||
|
encryptedPrivateKeyPassphrase?: string;
|
||
|
encryptedKeystorePassphrase?: string;
|
||
|
certificateLabel?: string;
|
||
|
}
|