Interface ISiteSecret
Describes a site wide secret used for symmetric encryption and message authentication.
Namespace: EPiServer.Framework.Security
Assembly: EPiServer.Framework.dll
Version: 8.11.0Syntax
public interface ISiteSecret
Properties
Id
Gets or sets the id for the secret.
Declaration
Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.Guid | The id. |
Secret
The actual shared secret used for encryption and message authentication.
Declaration
byte[] Secret { get; }
Property Value
Type | Description |
---|---|
System.Byte[] |
Remarks
This is highly sensitive information. Only use this for cryptographic functions.
SiteId
Id of the site to which this secret belongs.
Declaration
string SiteId { get; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
The identity of the site as returned by SiteId