共用方式為


IpsecPolicy Class

Definition

An IPSec Policy configuration for a virtual network gateway connection.

public class IpsecPolicy
type IpsecPolicy = class
Public Class IpsecPolicy
Inheritance
IpsecPolicy

Constructors

IpsecPolicy()

Initializes a new instance of the IpsecPolicy class.

IpsecPolicy(Int32, Int32, String, String, String, String, String, String)

Initializes a new instance of the IpsecPolicy class.

Properties

DhGroup

Gets or sets the DH Group used in IKE Phase 1 for initial SA. Possible values include: 'None', 'DHGroup1', 'DHGroup2', 'DHGroup14', 'DHGroup2048', 'ECP256', 'ECP384', 'DHGroup24'

IkeEncryption

Gets or sets the IKE encryption algorithm (IKE phase 2). Possible values include: 'DES', 'DES3', 'AES128', 'AES192', 'AES256', 'GCMAES256', 'GCMAES128'

IkeIntegrity

Gets or sets the IKE integrity algorithm (IKE phase 2). Possible values include: 'MD5', 'SHA1', 'SHA256', 'SHA384', 'GCMAES256', 'GCMAES128'

IpsecEncryption

Gets or sets the IPSec encryption algorithm (IKE phase 1). Possible values include: 'None', 'DES', 'DES3', 'AES128', 'AES192', 'AES256', 'GCMAES128', 'GCMAES192', 'GCMAES256'

IpsecIntegrity

Gets or sets the IPSec integrity algorithm (IKE phase 1). Possible values include: 'MD5', 'SHA1', 'SHA256', 'GCMAES128', 'GCMAES192', 'GCMAES256'

PfsGroup

Gets or sets the Pfs Group used in IKE Phase 2 for new child SA. Possible values include: 'None', 'PFS1', 'PFS2', 'PFS2048', 'ECP256', 'ECP384', 'PFS24', 'PFS14', 'PFSMM'

SaDataSizeKilobytes

Gets or sets the IPSec Security Association (also called Quick Mode or Phase 2 SA) payload size in KB for a site to site VPN tunnel.

SaLifeTimeSeconds

Gets or sets the IPSec Security Association (also called Quick Mode or Phase 2 SA) lifetime in seconds for a site to site VPN tunnel.

Methods

Validate()

Validate the object.

Applies to