Interface IContentProtector
- Namespace
- Oscova.Agents.Secrets
- Assembly
- Oscova.Agents.dll
Protects durable content for one user under a stable purpose.
public interface IContentProtectorMethods
- IsAvailable(string)
-
Returns whether protected content can currently be opened for the user.
- Protect(string, string, string)
-
Protects plaintext for one user and purpose.
- Unprotect(string, string, string)
-
Returns plaintext, or null when the key or payload is unavailable.