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
.