SecretEnvelopeInfo
Namespace: Meshmakers.Octo.Runtime.Contracts.Secrets
Result of parsing a secret envelope.
public struct SecretEnvelopeInfo
Inheritance Object → ValueType → SecretEnvelopeInfo
Implements IEquatable<SecretEnvelopeInfo>
Properties
Version
Envelope version: 1 (enc:v1:, no key id) or 2 (enc:v2:<kid>:)
public int Version { get; set; }
Property Value
KeyId
Key id of a version 2 envelope; null for version 1
public string KeyId { get; set; }
Property Value
Constructors
SecretEnvelopeInfo(Int32, String)
Result of parsing a secret envelope.
public SecretEnvelopeInfo(int Version, string KeyId)
Parameters
Version Int32
Envelope version: 1 (enc:v1:, no key id) or 2 (enc:v2:<kid>:)
KeyId String
Key id of a version 2 envelope; null for version 1