EncryptedSecurityTokenHandler.CanReadKeyIdentifierClause(XmlReader) Method

Definition

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