Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Microsoft.​IdentityModel.​Tokens.​SecurityTokenEncryptionKeyNotFoundException

Assembly: Microsoft.IdentityModel.Tokens

Inheritance: object → System.​ExceptionSecurityTokenExceptionSecurityTokenDecryptionFailedException → SecurityTokenEncryptionKeyNotFoundException

Implemented Interfaces

This exception is thrown when a security token contained a key identifier but the key was not found by the runtime when decrypting a token.

Properties

public string
StackTrace
Gets the stack trace that is captured when the exception is created.
public string
Source
Gets or sets the source of the exception.
public string
HelpLink
public int
HResult
InnerException
public string
Message

Methods

public void
GetObjectData​(System.​Runtime.​Serialization.​SerializationInfo info, System.​Runtime.​Serialization.​StreamingContext context)
Inherited from SecurityTokenException
When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception.
info The <see cref="T:System.Runtime.Serialization.SerializationInfo" /> that holds the serialized object data about the exception being thrown.
context The <see cref="T:System.Runtime.Serialization.StreamingContext" /> that contains contextual information about the source or destination.
GetBaseException​()
Inherited from System.​Exception
GetType​()
Inherited from System.​Exception
public string
ToString​()
Inherited from System.​Exception
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object