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:
Applies to
Maklum balas
https://aka.ms/ContentUserFeedback.
Akan datang: Sepanjang 2024, kami akan menghentikan secara berperingkat Isu GitHub sebagai kaedah maklum balas untuk kandungan dan menggantikannya dengan sistem maklum balas baharu. Untuk mendapatkan maklumat lanjut lihat:Kirim dan lihat maklum balas untuk