File

src/crypto/key/dto/key-object.dto.ts

Description

Represents a key entity with its unique identifier, public key, and certificate.

Index

Properties

Properties

crt
Type : string

Certificate in PEM format.

id
Type : string

Unique identifier for the key.

publicKey
Type : EC_Public

Public key in JWK format.

import { EC_Public } from "../../../well-known/dto/jwks-response.dto";

/**
 * Represents a key entity with its unique identifier, public key, and certificate.
 */

export class KeyObj {
    /**
     * Unique identifier for the key.
     */
    id: string;
    /**
     * Public key in JWK format.
     */
    publicKey: EC_Public;
    /**
     * Certificate in PEM format.
     */
    crt: string;
}

results matching ""

    No results matching ""