EncryptedSecurityTokenHandler.ReadKeyIdentifierClause(XmlReader) Method

Definition

Reads an EncryptedKeyIdentifierClause from an XML stream.

public:
 override System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ ReadKeyIdentifierClause(System::Xml::XmlReader ^ reader);
public override System.IdentityModel.Tokens.SecurityKeyIdentifierClause ReadKeyIdentifierClause (System.Xml.XmlReader reader);
override this.ReadKeyIdentifierClause : System.Xml.XmlReader -> System.IdentityModel.Tokens.SecurityKeyIdentifierClause
Public Overrides Function ReadKeyIdentifierClause (reader As XmlReader) As SecurityKeyIdentifierClause

Parameters

reader
XmlReader

An XML reader positioned at an <xenc:EncryptedKey> element as defined in XML Encryption Syntax and Processing; otherwise, false.

Returns

A key identifier clause of type EncryptedKeyIdentifierClause.

Exceptions

reader is null.

reader is not positioned at an <xenc:EncryptedKey> element.

Applies to