Documentation ¶
Overview ¶
This module contains a collection of YANG definitions for Cisco IOS-XR lib-keychain package configuration.
This module contains definitions for the following management objects:
keychains: Configure a Key Chain
Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved.
Index ¶
- type CryptoAlg
- type KeyChainMonth
- type Keychains
- type Keychains_Keychain
- type Keychains_Keychain_AcceptTolerance
- type Keychains_Keychain_Keys
- type Keychains_Keychain_Keys_Key
- type Keychains_Keychain_Keys_Key_AcceptLifetime
- type Keychains_Keychain_Keys_Key_SendLifetime
- type Keychains_Keychain_MacsecKeychain
- type Keychains_Keychain_MacsecKeychain_MacsecKeys
- type Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey
- type Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey_MacsecKeyString
- type Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey_MacsecLifetime
- type MacsecCryptoAlg
- type MacsecEncryption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CryptoAlg ¶
type CryptoAlg string
CryptoAlg represents Crypto alg
const ( // AES 128 CMAC 96 CryptoAlg_alg_aes_128_cmac_96 CryptoAlg = "alg-aes-128-cmac-96" // HMAC SHA 1 12 CryptoAlg_alg_hmac_sha1_12 CryptoAlg = "alg-hmac-sha1-12" // MD5 16 CryptoAlg_alg_md5_16 CryptoAlg = "alg-md5-16" // SHA 1 20 CryptoAlg_alg_sha1_20 CryptoAlg = "alg-sha1-20" // HMAC MD5 16 CryptoAlg_alg_hmac_md5_16 CryptoAlg = "alg-hmac-md5-16" // HMAC SHA 1 20 CryptoAlg_alg_hmac_sha1_20 CryptoAlg = "alg-hmac-sha1-20" // HMAC SHA 1 96 CryptoAlg_alg_hmac_sha1_96 CryptoAlg = "alg-hmac-sha1-96" // HMAC SHA 256 CryptoAlg_alg_hmac_sha_256 CryptoAlg = "alg-hmac-sha-256" )
type KeyChainMonth ¶
type KeyChainMonth string
KeyChainMonth represents Key chain month
const ( // January KeyChainMonth_jan KeyChainMonth = "jan" // February KeyChainMonth_feb KeyChainMonth = "feb" // March KeyChainMonth_mar KeyChainMonth = "mar" // April KeyChainMonth_apr KeyChainMonth = "apr" // May KeyChainMonth_may KeyChainMonth = "may" // June KeyChainMonth_jun KeyChainMonth = "jun" // July KeyChainMonth_jul KeyChainMonth = "jul" // August KeyChainMonth_aug KeyChainMonth = "aug" // September KeyChainMonth_sep KeyChainMonth = "sep" // October KeyChainMonth_oct KeyChainMonth = "oct" // November KeyChainMonth_nov KeyChainMonth = "nov" // December KeyChainMonth_dec KeyChainMonth = "dec" )
type Keychains ¶
type Keychains struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Name of the key chain. The type is slice of Keychains_Keychain. Keychain []*Keychains_Keychain }
Keychains Configure a Key Chain
func (*Keychains) GetEntityData ¶
func (keychains *Keychains) GetEntityData() *types.CommonEntityData
type Keychains_Keychain ¶
type Keychains_Keychain struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Name of the key chain. The type is string with // length: 1..32. ChainName interface{} // Accept Tolerance in seconds or infinite. AcceptTolerance Keychains_Keychain_AcceptTolerance // Name of the key chain for MACSec. MacsecKeychain Keychains_Keychain_MacsecKeychain // Configure a Key. Keys Keychains_Keychain_Keys }
Keychains_Keychain Name of the key chain
func (*Keychains_Keychain) GetEntityData ¶
func (keychain *Keychains_Keychain) GetEntityData() *types.CommonEntityData
type Keychains_Keychain_AcceptTolerance ¶
type Keychains_Keychain_AcceptTolerance struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Value in seconds. The type is interface{} with range: 1..8640000. Units are // second. Value interface{} // Infinite tolerance. The type is bool. Infinite interface{} }
Keychains_Keychain_AcceptTolerance Accept Tolerance in seconds or infinite
func (*Keychains_Keychain_AcceptTolerance) GetEntityData ¶
func (acceptTolerance *Keychains_Keychain_AcceptTolerance) GetEntityData() *types.CommonEntityData
type Keychains_Keychain_Keys ¶
type Keychains_Keychain_Keys struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Key Identifier. The type is slice of Keychains_Keychain_Keys_Key. Key []*Keychains_Keychain_Keys_Key }
Keychains_Keychain_Keys Configure a Key
func (*Keychains_Keychain_Keys) GetEntityData ¶
func (keys *Keychains_Keychain_Keys) GetEntityData() *types.CommonEntityData
type Keychains_Keychain_Keys_Key ¶
type Keychains_Keychain_Keys_Key struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. 48-bit Key identifier. The type is string with // pattern: [\w\-\.:,_@#%$\+=\|;]+. KeyId interface{} // Configure a clear text/encrypted Key string . The type is string with // pattern: (!.+)|([^!].+). KeyString interface{} // Configure the cryptographic algorithm. The type is CryptoAlg. CryptographicAlgorithm interface{} // Configure a key Acceptance Lifetime. AcceptLifetime Keychains_Keychain_Keys_Key_AcceptLifetime // Configure a Send Lifetime. SendLifetime Keychains_Keychain_Keys_Key_SendLifetime }
Keychains_Keychain_Keys_Key Key Identifier
func (*Keychains_Keychain_Keys_Key) GetEntityData ¶
func (key *Keychains_Keychain_Keys_Key) GetEntityData() *types.CommonEntityData
type Keychains_Keychain_Keys_Key_AcceptLifetime ¶
type Keychains_Keychain_Keys_Key_AcceptLifetime struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YPresence bool // Start Hour. The type is interface{} with range: 0..23. This attribute is // mandatory. StartHour interface{} // Start Minutes. The type is interface{} with range: 0..59. This attribute is // mandatory. Units are minute. StartMinutes interface{} // Start Seconds. The type is interface{} with range: 0..59. This attribute is // mandatory. Units are second. StartSeconds interface{} // Start Date. The type is interface{} with range: 1..31. This attribute is // mandatory. StartDate interface{} // Start Month. The type is KeyChainMonth. This attribute is mandatory. StartMonth interface{} // Start Year. The type is interface{} with range: 1993..2035. This attribute // is mandatory. StartYear interface{} // Lifetime duration in seconds. The type is interface{} with range: // 1..2147483647. Units are second. LifeTime interface{} // Infinite Lifetime flag. The type is bool. InfiniteFlag interface{} // End Hour. The type is interface{} with range: 0..23. EndHour interface{} // End Minutes. The type is interface{} with range: 0..59. Units are minute. EndMinutes interface{} // End Seconds. The type is interface{} with range: 0..59. Units are second. EndSeconds interface{} // End Date. The type is interface{} with range: 1..31. EndDate interface{} // End Month. The type is KeyChainMonth. EndMonth interface{} // End Year. The type is interface{} with range: 1993..2035. EndYear interface{} }
Keychains_Keychain_Keys_Key_AcceptLifetime Configure a key Acceptance Lifetime This type is a presence type.
func (*Keychains_Keychain_Keys_Key_AcceptLifetime) GetEntityData ¶
func (acceptLifetime *Keychains_Keychain_Keys_Key_AcceptLifetime) GetEntityData() *types.CommonEntityData
type Keychains_Keychain_Keys_Key_SendLifetime ¶
type Keychains_Keychain_Keys_Key_SendLifetime struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YPresence bool // Start Hour. The type is interface{} with range: 0..23. This attribute is // mandatory. StartHour interface{} // Start Minutes. The type is interface{} with range: 0..59. This attribute is // mandatory. Units are minute. StartMinutes interface{} // Start Seconds. The type is interface{} with range: 0..59. This attribute is // mandatory. Units are second. StartSeconds interface{} // Start Date. The type is interface{} with range: 1..31. This attribute is // mandatory. StartDate interface{} // Start Month. The type is KeyChainMonth. This attribute is mandatory. StartMonth interface{} // Start Year. The type is interface{} with range: 1993..2035. This attribute // is mandatory. StartYear interface{} // Lifetime duration in seconds. The type is interface{} with range: // 1..2147483647. Units are second. LifeTime interface{} // Infinite Lifetime flag. The type is bool. InfiniteFlag interface{} // End Hour. The type is interface{} with range: 0..23. EndHour interface{} // End Minutes. The type is interface{} with range: 0..59. Units are minute. EndMinutes interface{} // End Seconds. The type is interface{} with range: 0..59. Units are second. EndSeconds interface{} // End Date. The type is interface{} with range: 1..31. EndDate interface{} // End Month. The type is KeyChainMonth. EndMonth interface{} // End Year. The type is interface{} with range: 1993..2035. EndYear interface{} }
Keychains_Keychain_Keys_Key_SendLifetime Configure a Send Lifetime This type is a presence type.
func (*Keychains_Keychain_Keys_Key_SendLifetime) GetEntityData ¶
func (sendLifetime *Keychains_Keychain_Keys_Key_SendLifetime) GetEntityData() *types.CommonEntityData
type Keychains_Keychain_MacsecKeychain ¶
type Keychains_Keychain_MacsecKeychain struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configure a Key. MacsecKeys Keychains_Keychain_MacsecKeychain_MacsecKeys }
Keychains_Keychain_MacsecKeychain Name of the key chain for MACSec
func (*Keychains_Keychain_MacsecKeychain) GetEntityData ¶
func (macsecKeychain *Keychains_Keychain_MacsecKeychain) GetEntityData() *types.CommonEntityData
type Keychains_Keychain_MacsecKeychain_MacsecKeys ¶
type Keychains_Keychain_MacsecKeychain_MacsecKeys struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Key Identifier. The type is slice of // Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey. MacsecKey []*Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey }
Keychains_Keychain_MacsecKeychain_MacsecKeys Configure a Key
func (*Keychains_Keychain_MacsecKeychain_MacsecKeys) GetEntityData ¶
func (macsecKeys *Keychains_Keychain_MacsecKeychain_MacsecKeys) GetEntityData() *types.CommonEntityData
type Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey ¶
type Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Enter CKN as non-zero hex string of even length, // length range: <02-64>, i.e 1-32 bytes of MACsec CKN. The type is string // with length: 2..64. KeyId interface{} // Configure a key Lifetime. MacsecLifetime Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey_MacsecLifetime // Configure a clear text/encrypted Key string along with cryptographic // algorithm. MacsecKeyString Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey_MacsecKeyString }
Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey Key Identifier
func (*Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey) GetEntityData ¶
func (macsecKey *Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey) GetEntityData() *types.CommonEntityData
type Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey_MacsecKeyString ¶
type Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey_MacsecKeyString struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YPresence bool // Key String. The type is string with pattern: (!.+)|([^!].+). This attribute // is mandatory. String interface{} // Cryptographic Algorithm. The type is MacsecCryptoAlg. This attribute is // mandatory. CryptographicAlgorithm interface{} // encryption type used to store key. The type is MacsecEncryption. The // default value is type7. EncryptionType interface{} }
Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey_MacsecKeyString Configure a clear text/encrypted Key string along with cryptographic algorithm This type is a presence type.
func (*Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey_MacsecKeyString) GetEntityData ¶
func (macsecKeyString *Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey_MacsecKeyString) GetEntityData() *types.CommonEntityData
type Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey_MacsecLifetime ¶
type Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey_MacsecLifetime struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YPresence bool // Start Hour. The type is interface{} with range: 0..23. This attribute is // mandatory. StartHour interface{} // Start Minutes. The type is interface{} with range: 0..59. This attribute is // mandatory. Units are minute. StartMinutes interface{} // Start Seconds. The type is interface{} with range: 0..59. This attribute is // mandatory. Units are second. StartSeconds interface{} // Start Date. The type is interface{} with range: 1..31. This attribute is // mandatory. StartDate interface{} // Start Month. The type is KeyChainMonth. This attribute is mandatory. StartMonth interface{} // Start Year. The type is interface{} with range: 1993..2035. This attribute // is mandatory. StartYear interface{} // Lifetime duration in seconds. The type is interface{} with range: // 1..2147483647. Units are second. LifeTime interface{} // Infinite Lifetime flag. The type is bool. InfiniteFlag interface{} // End Hour. The type is interface{} with range: 0..23. EndHour interface{} // End Minutes. The type is interface{} with range: 0..59. Units are minute. EndMinutes interface{} // End Seconds. The type is interface{} with range: 0..59. Units are second. EndSeconds interface{} // End Date. The type is interface{} with range: 1..31. EndDate interface{} // End Month. The type is KeyChainMonth. EndMonth interface{} // End Year. The type is interface{} with range: 1993..2035. EndYear interface{} }
Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey_MacsecLifetime Configure a key Lifetime This type is a presence type.
func (*Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey_MacsecLifetime) GetEntityData ¶
func (macsecLifetime *Keychains_Keychain_MacsecKeychain_MacsecKeys_MacsecKey_MacsecLifetime) GetEntityData() *types.CommonEntityData
type MacsecCryptoAlg ¶
type MacsecCryptoAlg string
MacsecCryptoAlg represents Macsec crypto alg
const ( // aes 128 cmac MacsecCryptoAlg_aes_128_cmac MacsecCryptoAlg = "aes-128-cmac" // aes 256 cmac MacsecCryptoAlg_aes_256_cmac MacsecCryptoAlg = "aes-256-cmac" )
type MacsecEncryption ¶
type MacsecEncryption string
MacsecEncryption represents Macsec encryption
const ( // Type7 MacsecEncryption_type7 MacsecEncryption = "type7" // Type6 MacsecEncryption_type6 MacsecEncryption = "type6" )