X509SecurityTokenHandler.CanWriteKeyIdentifierClause 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 specified key identifier clause can be serialized by this handler.
public:
override bool CanWriteKeyIdentifierClause(System::IdentityModel::Tokens::SecurityKeyIdentifierClause ^ securityKeyIdentifierClause);
public override bool CanWriteKeyIdentifierClause (System.IdentityModel.Tokens.SecurityKeyIdentifierClause securityKeyIdentifierClause);
override this.CanWriteKeyIdentifierClause : System.IdentityModel.Tokens.SecurityKeyIdentifierClause -> bool
Public Overrides Function CanWriteKeyIdentifierClause (securityKeyIdentifierClause As SecurityKeyIdentifierClause) As Boolean
Parameters
- securityKeyIdentifierClause
- SecurityKeyIdentifierClause
The key identifier clause to be serialized.
Returns
true
if the securityKeyIdentifierClause
is supported and if the WriteXmlDSigDefinedClauseTypes property is set to true
; otherwise, false
.
Exceptions
securityKeyIdentifierClause
is null
.
Remarks
The supported key identifier clause types are: