TeamFoundationSigningService Class
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(TeamFoundationLockingService))> _
<TeamFoundationServiceDependency(GetType(TeamFoundationSqlNotificationService))> _
Public Class TeamFoundationSigningService _
Implements ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
public class TeamFoundationSigningService : ITeamFoundationService
[TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))]
[TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))]
public ref class TeamFoundationSigningService : ITeamFoundationService
[<TeamFoundationServiceDependency(typeof(TeamFoundationLockingService))>]
[<TeamFoundationServiceDependency(typeof(TeamFoundationSqlNotificationService))>]
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 by using the given key set | |
Encrypt | Encrypt the passed in data by 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 a hash function for a particular type. (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[]) | Sign the given message using the key set for the given identifier. | |
Sign(TeamFoundationRequestContext, Guid, array<Byte[], TimeSpan) | Sign the given message using the key set for the given identifier. The message will not 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[]) | 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[]%) | 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.