共用方式為


JsonWebToken.Ciphertext Property

Definition

Gets the Ciphertext representing the encrypted JWT in the original raw data.

public string Ciphertext { get; }
member this.Ciphertext : string
Public ReadOnly Property Ciphertext As String

Property Value

Remarks

When decrypted using values in the JWE header will contain the plaintext payload. See: https://datatracker.ietf.org/doc/html/rfc7516#section-2.

If this JWT is not encrypted, an empty string will be returned.

Applies to