EncryptedSecurityTokenHandler.CanReadKeyIdentifierClause(XmlReader) Method
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.
Returns a value that indicates whether the current XML element is pointing to an <xenc:EncryptedKey>
element that can be deserialized to a SecurityKeyIdentifierClause by this instance.
public:
override bool CanReadKeyIdentifierClause(System::Xml::XmlReader ^ reader);
public override bool CanReadKeyIdentifierClause (System.Xml.XmlReader reader);
override this.CanReadKeyIdentifierClause : System.Xml.XmlReader -> bool
Public Overrides Function CanReadKeyIdentifierClause (reader As XmlReader) As Boolean
Parameters
- reader
- XmlReader
An XML reader positioned at the start element. The reader should not be advanced.
Returns
true
if the XML reader is positioned at an <xenc:EncryptedKey>
element as defined in section 3.5.1 of the XML Encryption Syntax and Processing; otherwise, false
.
Exceptions
reader
is null
.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om