"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
var __metadata = (this && this.__metadata) || function (k, v) {
    if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.CAPublicKeyDto = void 0;
const swagger_1 = require("@nestjs/swagger");
class CAPublicKeyDto {
}
exports.CAPublicKeyDto = CAPublicKeyDto;
__decorate([
    (0, swagger_1.ApiProperty)({
        example: 'ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC...',
        description: 'CA public key in OpenSSH format',
    }),
    __metadata("design:type", String)
], CAPublicKeyDto.prototype, "publicKey", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: 'SHA256:abc123def456...',
        description: 'SHA256 fingerprint of the CA public key',
    }),
    __metadata("design:type", String)
], CAPublicKeyDto.prototype, "fingerprint", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: 'ed25519',
        description: 'Key type',
    }),
    __metadata("design:type", String)
], CAPublicKeyDto.prototype, "type", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: '2025-01-20T10:00:00Z',
        description: 'CA creation timestamp',
    }),
    __metadata("design:type", Date)
], CAPublicKeyDto.prototype, "createdAt", void 0);
__decorate([
    (0, swagger_1.ApiProperty)({
        example: '2025-04-20T10:00:00Z',
        description: 'CA expiration timestamp',
        required: false,
    }),
    __metadata("design:type", Date)
], CAPublicKeyDto.prototype, "expiresAt", void 0);
