KMP PHP API Reference

EscrowSensitiveValueRedactor
in package

FinalYes

Table of Contents

Constants

REDACTED  : mixed = '[REDACTED]'

Methods

redactMetadata()  : array<string, mixed>
redactNotes()  : string|null
Redact sensitive key/value material from free-form ceremony notes.
isSensitiveKey()  : bool
Detect metadata keys likely to contain KEK/share/plaintext material.
redactValue()  : mixed

Constants

Methods

redactMetadata()

public redactMetadata(array<string, mixed> $metadata) : array<string, mixed>
Parameters
$metadata : array<string, mixed>

Metadata to sanitize

Return values
array<string, mixed>

redactNotes()

Redact sensitive key/value material from free-form ceremony notes.

public redactNotes(string|null $notes) : string|null
Parameters
$notes : string|null

Notes to sanitize

Return values
string|null

isSensitiveKey()

Detect metadata keys likely to contain KEK/share/plaintext material.

private isSensitiveKey(string $key) : bool
Parameters
$key : string

Metadata key

Return values
bool
On this page

Search results