Delen via


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

PSRemotingCryptoHelper()

Fields

_keyExchangeCompleted

Key exchange has been completed and both keys available.

syncObject

Object for synchronizing key exchange.

Methods

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