X509DataSecurityKeyIdentifierClauseSerializer.ReadKeyIdentifierClause Method
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.
Deserializes a key identifier clause from XML by using the specified XML reader.
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
- reader
- XmlReader
An XML reader positioned at the start element of the key identifier clause to read.
The key identifier clause that was deserialized from the XML or null
if a key identifier clause could not be read.
reader
is null
.
reader
is not positioned at a <ds:X509Data>
element. (The CanReadKeyIdentifierClause(XmlReader) method returns false
.)
The ReadKeyIdentifierClause method reads <ds:X509IssuerSerial>
, <ds:X509SKI>
, and <ds:X509Certificate>
elements and returns the first one found as a X509IssuerSerialKeyIdentifierClause, a X509SubjectKeyIdentifierClause, or a X509RawDataKeyIdentifierClause. If one of these elements is not found under the <ds:X509Data>
element, the method returns null
.
Продукт | Версии |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Обратна връзка за .NET
.NET е проект с отворен код. Изберете връзка, за да предоставите обратна връзка: