JsonWebToken.Ciphertext Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.