Interface ITrustedCertificate

This interface holds all fragments that describe a certificate object

interface ITrustedCertificate {
    algorithmName?: string;
    autoRegistrationEnabled?: boolean;
    certInPemFormat: string;
    fingerprint: string;
    issuer?: string;
    name: string;
    notAfter?: string;
    notBefore?: string;
    proofOfPossessionUnsignedVerificationCode?: string;
    proofOfPossessionValid?: boolean;
    proofOfPossessionVerificationCodeUsableUntil?: string;
    serialNumber?: string;
    status: "ENABLED" | "DISABLED";
    subject?: string;
    version?: any;
}

Properties

algorithmName?: string

The algorithm used by the issuer to sign the certificate

autoRegistrationEnabled?: boolean

Auto-registration flag All devices with credentials signed by this certificate will be able to communicate with the platform without a prior registration.

certInPemFormat: string

Certificate in PEM format

fingerprint: string

Certificate fingerprint A unique identifier

issuer?: string

The name of the entity issuing the certificate

name: string

Certificate name

notAfter?: string

Certificate validity end date and time

notBefore?: string

Certificate validity start date and time

proofOfPossessionUnsignedVerificationCode?: string

A random string which should be encrypted with the private key to prove the certificate's ownership.

proofOfPossessionValid?: boolean

True if user has proved to own the certificate.

proofOfPossessionVerificationCodeUsableUntil?: string

A date until the unsigned verification code can be used to prove the certificate's ownership. After this date the code needs to be regenerated.

serialNumber?: string

Certificate serial number

status: "ENABLED" | "DISABLED"

Certificate status

subject?: string

The owner of the certificate

version?: any

Which X.509 version applies to the certificate