Partager via


SignedXmlSignature.KeyInfo Property

Gets or sets a KeyInfo that enables the recipient(s) to obtain the key needed to validate the signature.

Namespace: Microsoft.Web.Services3.Security
Assembly: Microsoft.Web.Services3 (in microsoft.web.services3.dll)

Usage

'Usage
Dim signedXmlSignature1 As SignedXmlSignature

Dim returnValue As KeyInfo
returnValue = signedXmlSignature1.KeyInfo

Dim sampleValue As KeyInfo
signedXmlSignature1.KeyInfo = sampleValue

Syntax

'Declaration
Public Property KeyInfo() As KeyInfo
public KeyInfo KeyInfo {get; set;}
public:
property KeyInfo^ KeyInfo {
    KeyInfo^ get();
    void set(KeyInfo^ value);
}
public KeyInfo get_KeyInfo();
public void set_KeyInfo(KeyInfo);
public function get KeyInfo() : KeyInfo;
public function set KeyInfo(KeyInfo);

Property Value

A KeyInfo that enables the recipient(s) to obtain the key needed to validate the signature.

Remarks

A KeyInfo contain keys, names, certificates and other public key management information. If KeyInfo is omitted, the recipient is expected to be able to identify the key based on application context. Multiple declarations within KeyInfo refer to the same key.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, Windows 2000, Windows 2000 Server, Windows 2000 Advanced Server

Target Platforms

See Also

Reference

SignedXmlSignature Class
SignedXmlSignature Members
Microsoft.Web.Services3.Security Namespace