TeamFoundationSigningService.GetPublicKey Method
Gets the public key for the given identifier
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Function GetPublicKey ( _
requestContext As TeamFoundationRequestContext, _
identifier As Guid, _
<OutAttribute> ByRef keyLength As Integer _
) As Byte()
public byte[] GetPublicKey(
TeamFoundationRequestContext requestContext,
Guid identifier,
out int keyLength
)
public:
array<unsigned char>^ GetPublicKey(
TeamFoundationRequestContext^ requestContext,
Guid identifier,
[OutAttribute] int% keyLength
)
member GetPublicKey :
requestContext:TeamFoundationRequestContext *
identifier:Guid *
keyLength:int byref -> byte[]
public function GetPublicKey(
requestContext : TeamFoundationRequestContext,
identifier : Guid,
keyLength : int
) : byte[]
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context
identifier
Type: System.GuidThe identifier of the key set
- keyLength
Type: System.Int32%
Return Value
Type: array<System.Byte[]
The public key of the identifier's key set
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.