updateVical

suspend fun updateVical(entry: TrustEntryVical, encodedSignedVical: ByteString): TrustEntryVical

Updates the underlying byte data of an existing VICAL entry while preserving its metadata.

Signature verification is bypassed during parsing.

Return

A new instance of TrustEntryVical containing the updated bytes.

Parameters

entry

The existing TrustEntryVical to update.

encodedSignedVical

The new CBOR/ASN.1 encoded bytes of the signed VICAL.

Throws

if the specified entry is not found in the manager.