/* tslint:disable */ /* eslint-disable */ /** * authentik * Making authentication simple. * * The version of the OpenAPI document: 2026.8.0-rc7 * Contact: hello@goauthentik.io * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export */ export const CertificateKeyPairKeyTypeEnum = { Rsa: 'rsa', Ec: 'ec', Dsa: 'dsa', Ed25519: 'ed25519', Ed448: 'ed448', UnknownDefaultOpenApi: '11184809' } as const; export type CertificateKeyPairKeyTypeEnum = typeof CertificateKeyPairKeyTypeEnum[keyof typeof CertificateKeyPairKeyTypeEnum]; export function instanceOfCertificateKeyPairKeyTypeEnum(value: any): boolean { for (const key in CertificateKeyPairKeyTypeEnum) { if (Object.prototype.hasOwnProperty.call(CertificateKeyPairKeyTypeEnum, key)) { if (CertificateKeyPairKeyTypeEnum[key as keyof typeof CertificateKeyPairKeyTypeEnum] === value) { return true; } } } return false; } export function CertificateKeyPairKeyTypeEnumFromJSON(json: any): CertificateKeyPairKeyTypeEnum { return CertificateKeyPairKeyTypeEnumFromJSONTyped(json, false); } export function CertificateKeyPairKeyTypeEnumFromJSONTyped(json: any, ignoreDiscriminator: boolean): CertificateKeyPairKeyTypeEnum { return json as CertificateKeyPairKeyTypeEnum; } export function CertificateKeyPairKeyTypeEnumToJSON(value?: CertificateKeyPairKeyTypeEnum | null): any { return value as any; } export function CertificateKeyPairKeyTypeEnumToJSONTyped(value: any, ignoreDiscriminator: boolean): CertificateKeyPairKeyTypeEnum { return value as CertificateKeyPairKeyTypeEnum; }