DSigSerializer.TryReadKeyValueType(XmlReader, KeyInfo) Method

Definition

Attempts to read the KeyValue element conforming to https://www.w3.org/TR/2001/PR-xmldsig-core-20010820/#sec-KeyValue.

Only supports RSAKeyValue, but can be extended to support more key value types.

protected virtual bool TryReadKeyValueType (System.Xml.XmlReader reader, ref Microsoft.IdentityModel.Xml.KeyInfo keyInfo);
abstract member TryReadKeyValueType : System.Xml.XmlReader * KeyInfo -> bool
override this.TryReadKeyValueType : System.Xml.XmlReader * KeyInfo -> bool
Protected Overridable Function TryReadKeyValueType (reader As XmlReader, ByRef keyInfo As KeyInfo) As Boolean

Parameters

reader
XmlReader

A XmlReader positioned on a child of KeyValue element.

keyInfo
KeyInfo

The KeyInfo object to populate.

Returns

Applies to