Class GatewayMacsecConfig
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.networking.direct_link.v1.model.GatewayMacsecConfig
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class GatewayMacsecConfig extends com.ibm.cloud.sdk.core.service.model.GenericModel
MACsec configuration information. For Dedicated Gateways with MACsec configured, return configuration information. Contact IBM support for access to MACsec.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
GatewayMacsecConfig.CipherSuite
SAK cipher suite.static interface
GatewayMacsecConfig.CryptographicAlgorithm
cryptographic algorithm.static interface
GatewayMacsecConfig.SecurityPolicy
Packets without MACsec headers are dropped when security_policy is `must_secure`.static interface
GatewayMacsecConfig.Status
Current status of MACsec on this gateway.
-
Constructor Summary
Constructors Constructor Description GatewayMacsecConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GatewayMacsecConfigActiveCak
getActiveCak()
Gets the activeCak.String
getCipherSuite()
Gets the cipherSuite.Long
getConfidentialityOffset()
Gets the confidentialityOffset.String
getCryptographicAlgorithm()
Gets the cryptographicAlgorithm.GatewayMacsecConfigFallbackCak
getFallbackCak()
Gets the fallbackCak.Long
getKeyServerPriority()
Gets the keyServerPriority.GatewayMacsecConfigPrimaryCak
getPrimaryCak()
Gets the primaryCak.Long
getSakExpiryTime()
Gets the sakExpiryTime.String
getSecurityPolicy()
Gets the securityPolicy.String
getStatus()
Gets the status.Long
getWindowSize()
Gets the windowSize.Boolean
isActive()
Gets the active.
-
-
-
Method Detail
-
isActive
public Boolean isActive()
Gets the active. Indicate whether MACsec should currently be active (true) or inactive (false) for a MACsec enabled gateway. To be MACsec enabled a `macsec_config` must be specified at gateway create time.- Returns:
- the active
-
getActiveCak
public GatewayMacsecConfigActiveCak getActiveCak()
Gets the activeCak. Active connectivity association key. During normal operation `active_cak` will match the desired `primary_cak`. During CAK changes this field can be used to indicate which key is currently active on the gateway.- Returns:
- the activeCak
-
getCipherSuite
public String getCipherSuite()
Gets the cipherSuite. SAK cipher suite.- Returns:
- the cipherSuite
-
getConfidentialityOffset
public Long getConfidentialityOffset()
Gets the confidentialityOffset. confidentiality offset.- Returns:
- the confidentialityOffset
-
getCryptographicAlgorithm
public String getCryptographicAlgorithm()
Gets the cryptographicAlgorithm. cryptographic algorithm.- Returns:
- the cryptographicAlgorithm
-
getFallbackCak
public GatewayMacsecConfigFallbackCak getFallbackCak()
Gets the fallbackCak. fallback connectivity association key.- Returns:
- the fallbackCak
-
getKeyServerPriority
public Long getKeyServerPriority()
Gets the keyServerPriority. key server priority.- Returns:
- the keyServerPriority
-
getPrimaryCak
public GatewayMacsecConfigPrimaryCak getPrimaryCak()
Gets the primaryCak. desired primary connectivity association key.- Returns:
- the primaryCak
-
getSakExpiryTime
public Long getSakExpiryTime()
Gets the sakExpiryTime. Secure Association Key (SAK) expiry time in seconds.- Returns:
- the sakExpiryTime
-
getSecurityPolicy
public String getSecurityPolicy()
Gets the securityPolicy. Packets without MACsec headers are dropped when security_policy is `must_secure`.- Returns:
- the securityPolicy
-
getStatus
public String getStatus()
Gets the status. Current status of MACsec on this gateway. Status 'offline' is returned during gateway creation and deletion.- Returns:
- the status
-
getWindowSize
public Long getWindowSize()
Gets the windowSize. replay protection window size.- Returns:
- the windowSize
-
-