PSRemotingCryptoHelper Class

Definition

Helper for exchanging keys and encrypting/decrypting secure strings for serialization in remoting.

public abstract class PSRemotingCryptoHelper : IDisposable
type PSRemotingCryptoHelper = class
    interface IDisposable
Public MustInherit Class PSRemotingCryptoHelper
Implements IDisposable
Inheritance
PSRemotingCryptoHelper
Implements

Constructors

Name Description
PSRemotingCryptoHelper()

Fields

Name Description
_keyExchangeCompleted

Key exchange has been completed and both keys available.

syncObject

Object for synchronizing key exchange.

Methods

Name Description
ConvertBase64StringToSecureString(String)

Convert a base64 encoded string to a secure string.

ConvertSecureStringToBase64String(SecureString)

Convert a secure string to a base64 encoded string.

DecryptSecureStringCore(String)

Core logic to decrypt a secure string. Assumes session key is already available.

Dispose()
Dispose(Boolean)
EncryptSecureStringCore(SecureString)

Core logic to encrypt a string. Assumes session key is already generated.

RunKeyExchangeIfRequired()

Applies to