Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
A service that can sign and validate caller messages using keys held by the signing service but accessed by the caller through a surrogate identifier guid.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Framework.Server.TeamFoundationSigningService
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
<TeamFoundationServiceDependency(GetType(TeamFoundationSqlNotificationService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationLockingService))> _
Public Class TeamFoundationSigningService _
Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
public class TeamFoundationSigningService : ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
public ref class TeamFoundationSigningService : ITeamFoundationService
[<TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))>]
type TeamFoundationSigningService =
class
interface ITeamFoundationService
end
public class TeamFoundationSigningService implements ITeamFoundationService
The TeamFoundationSigningService type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
![]() |
TeamFoundationSigningService |
Top
Methods
| Name | Description | |
|---|---|---|
![]() |
Decrypt | Decrypt the passed in data, using the given key set |
![]() |
Encrypt | Encrypt the passed in data, using the given key set |
![]() |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() |
GetHashCode | Serves as the default hash function. (Inherited from Object.) |
![]() |
GetPublicKey | Gets the public key for the given identifier |
![]() |
GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() |
QuerySigningInfo | Get the signing information (e.g. public key) for the given identifier |
![]() |
RegenerateKey(TeamFoundationRequestContext, Guid) | Regenerate the key set for the given identifier |
![]() |
RegenerateKey(TeamFoundationRequestContext, Guid, Int32) | Regenerate the key set for the given identifier |
![]() |
Sign(TeamFoundationRequestContext, Guid, array<Byte[], SigningAlgorithm) | Sign the given message using the key set for the given identifier. |
![]() |
Sign(TeamFoundationRequestContext, Guid, array<Byte[], TimeSpan, SigningAlgorithm) | Sign the given message using the key set for the given identifier. The message will fail to validate after the given expiration timespan. |
![]() |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() |
Validate(TeamFoundationRequestContext, Guid, array<Byte[], array<Byte[], SigningAlgorithm) | Validate the given signed message. Returns true if the message successfully validated. The original message payload is also returned. |
![]() |
Validate(TeamFoundationRequestContext, Guid, String, array<Byte[]%, SigningAlgorithm) | Validate the given signed message. Returns true if the message successfully validated. The original message payload is also returned. |
Top
Explicit Interface Implementations
| Name | Description | |
|---|---|---|
![]() ![]() |
ITeamFoundationService.ServiceEnd | Service End |
![]() ![]() |
ITeamFoundationService.ServiceStart | Service Start |
Top
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.
.gif)
.gif)
.gif)
.gif)