public final class IpsecPolicy extends Object
| Constructor and Description |
|---|
IpsecPolicy() |
| Modifier and Type | Method and Description |
|---|---|
DhGroup |
dhGroup()
Get the dhGroup property: The DH Group used in IKE Phase 1 for initial SA.
|
IkeEncryption |
ikeEncryption()
Get the ikeEncryption property: The IKE encryption algorithm (IKE phase 2).
|
IkeIntegrity |
ikeIntegrity()
Get the ikeIntegrity property: The IKE integrity algorithm (IKE phase 2).
|
IpsecEncryption |
ipsecEncryption()
Get the ipsecEncryption property: The IPSec encryption algorithm (IKE phase 1).
|
IpsecIntegrity |
ipsecIntegrity()
Get the ipsecIntegrity property: The IPSec integrity algorithm (IKE phase 1).
|
PfsGroup |
pfsGroup()
Get the pfsGroup property: The Pfs Group used in IKE Phase 2 for new child SA.
|
int |
saDataSizeKilobytes()
Get the saDataSizeKilobytes property: The IPSec Security Association (also called Quick Mode or Phase 2 SA)
payload size in KB for a site to site VPN tunnel.
|
int |
saLifeTimeSeconds()
Get the saLifeTimeSeconds property: The IPSec Security Association (also called Quick Mode or Phase 2 SA)
lifetime in seconds for a site to site VPN tunnel.
|
void |
validate()
Validates the instance.
|
IpsecPolicy |
withDhGroup(DhGroup dhGroup)
Set the dhGroup property: The DH Group used in IKE Phase 1 for initial SA.
|
IpsecPolicy |
withIkeEncryption(IkeEncryption ikeEncryption)
Set the ikeEncryption property: The IKE encryption algorithm (IKE phase 2).
|
IpsecPolicy |
withIkeIntegrity(IkeIntegrity ikeIntegrity)
Set the ikeIntegrity property: The IKE integrity algorithm (IKE phase 2).
|
IpsecPolicy |
withIpsecEncryption(IpsecEncryption ipsecEncryption)
Set the ipsecEncryption property: The IPSec encryption algorithm (IKE phase 1).
|
IpsecPolicy |
withIpsecIntegrity(IpsecIntegrity ipsecIntegrity)
Set the ipsecIntegrity property: The IPSec integrity algorithm (IKE phase 1).
|
IpsecPolicy |
withPfsGroup(PfsGroup pfsGroup)
Set the pfsGroup property: The Pfs Group used in IKE Phase 2 for new child SA.
|
IpsecPolicy |
withSaDataSizeKilobytes(int saDataSizeKilobytes)
Set the saDataSizeKilobytes property: The IPSec Security Association (also called Quick Mode or Phase 2 SA)
payload size in KB for a site to site VPN tunnel.
|
IpsecPolicy |
withSaLifeTimeSeconds(int saLifeTimeSeconds)
Set the saLifeTimeSeconds property: The IPSec Security Association (also called Quick Mode or Phase 2 SA)
lifetime in seconds for a site to site VPN tunnel.
|
public int saLifeTimeSeconds()
public IpsecPolicy withSaLifeTimeSeconds(int saLifeTimeSeconds)
saLifeTimeSeconds - the saLifeTimeSeconds value to set.public int saDataSizeKilobytes()
public IpsecPolicy withSaDataSizeKilobytes(int saDataSizeKilobytes)
saDataSizeKilobytes - the saDataSizeKilobytes value to set.public IpsecEncryption ipsecEncryption()
public IpsecPolicy withIpsecEncryption(IpsecEncryption ipsecEncryption)
ipsecEncryption - the ipsecEncryption value to set.public IpsecIntegrity ipsecIntegrity()
public IpsecPolicy withIpsecIntegrity(IpsecIntegrity ipsecIntegrity)
ipsecIntegrity - the ipsecIntegrity value to set.public IkeEncryption ikeEncryption()
public IpsecPolicy withIkeEncryption(IkeEncryption ikeEncryption)
ikeEncryption - the ikeEncryption value to set.public IkeIntegrity ikeIntegrity()
public IpsecPolicy withIkeIntegrity(IkeIntegrity ikeIntegrity)
ikeIntegrity - the ikeIntegrity value to set.public DhGroup dhGroup()
public IpsecPolicy withDhGroup(DhGroup dhGroup)
dhGroup - the dhGroup value to set.public PfsGroup pfsGroup()
public IpsecPolicy withPfsGroup(PfsGroup pfsGroup)
pfsGroup - the pfsGroup value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.