Share via


SecureStoreServiceApplication.SetMasterSecretKey Method

Sets the master secret key of the application server.

Namespace:  Microsoft.Office.SecureStoreService.Server
Assembly:  Microsoft.Office.SecureStoreService (in Microsoft.Office.SecureStoreService.dll)

Syntax

'Declaration
Public Sub SetMasterSecretKey ( _
    passPhraseHash As Byte() _
)
'Usage
Dim instance As SecureStoreServiceApplication
Dim passPhraseHash As Byte()

instance.SetMasterSecretKey(passPhraseHash)
public void SetMasterSecretKey(
    byte[] passPhraseHash
)

Parameters

  • passPhraseHash
    Type: []

    The passphrase hash that is used to decrypt the key.

Implements

ISecureStoreServiceApplication.SetMasterSecretKey([])

Remarks

This method gets the encrypted key from the database and tries to decrypt the key with passPhraseHash. If the decryption is successful, the method saves the key in the local registry.

This method can be invoked remotely through the SecureStoreServiceApplicationProxy class.

See Also

Reference

SecureStoreServiceApplication Class

SecureStoreServiceApplication Members

Microsoft.Office.SecureStoreService.Server Namespace