Files
headlamp-sealed-secrets-plugin/docs/api-reference/generated/lib/crypto/functions/parseCertificateInfo.md
T
Chris Farhood 46d59b48b5 chore: migrate repository to privilegedescalation organization
Updated all GitHub URLs from cpfarhood to privilegedescalation organization:
- Repository URLs in package.json and Artifact Hub metadata
- Documentation links and references
- Git remote updated

No functional changes - this is purely an organizational migration.

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
2026-02-12 10:50:30 -05:00

1.0 KiB

Headlamp Sealed Secrets API v0.2.0


Headlamp Sealed Secrets API / lib/crypto / parseCertificateInfo

Function: parseCertificateInfo()

parseCertificateInfo(pemCert): Result<CertificateInfo, string>

Defined in: src/lib/crypto.ts:168

Parse certificate and extract metadata

Extracts validity dates, issuer/subject information, and calculates expiration status and fingerprint.

Parameters

pemCert

PEMCertificate

PEM-encoded certificate string (branded type)

Returns

Result<CertificateInfo, string>

Result containing certificate information or error message