Documentation
¶
Overview ¶
This module contains a collection of YANG definitions for Cisco IOS-XR lib-keychain package operational data.
This module contains definitions for the following management objects:
keychain: Keychain operational data
Copyright (c) 2013-2018 by Cisco Systems, Inc. All rights reserved.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CrytoAlgo ¶
type CrytoAlgo string
CrytoAlgo represents Cryptographic algorithm type
const ( // Not configured CrytoAlgo_not_configured CrytoAlgo = "not-configured" // CMAC AES 12 bytes CrytoAlgo_aes_128_cmac_96 CrytoAlgo = "aes-128-cmac-96" // HMAC SHA1 12 bytes CrytoAlgo_hmac_sha1_12 CrytoAlgo = "hmac-sha1-12" // MD5 16 bytes CrytoAlgo_md5 CrytoAlgo = "md5" // SHA1 20 bytes CrytoAlgo_sha1 CrytoAlgo = "sha1" // HMAC MD5 16 bytes CrytoAlgo_hmac_md5 CrytoAlgo = "hmac-md5" // HMAC SHA1 20 bytes CrytoAlgo_hmac_sha1_20 CrytoAlgo = "hmac-sha1-20" // CMAC AES 32 bytes CrytoAlgo_aes_128_cmac CrytoAlgo = "aes-128-cmac" // CMAC AES 64 bytes CrytoAlgo_aes_256_cmac CrytoAlgo = "aes-256-cmac" // HMAC SHA1 12 bytes CrytoAlgo_hmac_sha1_96 CrytoAlgo = "hmac-sha1-96" // HMAC SHA256 32 bytes CrytoAlgo_hmac_sha_256 CrytoAlgo = "hmac-sha-256" )
type Keychain ¶
type Keychain struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // List of configured key names. Keys Keychain_Keys }
Keychain Keychain operational data
func (*Keychain) GetEntityData ¶
func (keychain *Keychain) GetEntityData() *types.CommonEntityData
type Keychain_Keys ¶
type Keychain_Keys struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Configured key name. The type is slice of Keychain_Keys_Key. Key []*Keychain_Keys_Key }
Keychain_Keys List of configured key names
func (*Keychain_Keys) GetEntityData ¶
func (keys *Keychain_Keys) GetEntityData() *types.CommonEntityData
type Keychain_Keys_Key ¶
type Keychain_Keys_Key struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // This attribute is a key. Key name. The type is string with pattern: // [\w\-\.:,_@#%$\+=\|;]+. KeyName interface{} // Accept tolerance is infinite if value is 0xffffffff. The type is string. AcceptTolerance interface{} // Key properties. Key Keychain_Keys_Key_Key }
Keychain_Keys_Key Configured key name
func (*Keychain_Keys_Key) GetEntityData ¶
func (key *Keychain_Keys_Key) GetEntityData() *types.CommonEntityData
type Keychain_Keys_Key_Key ¶
type Keychain_Keys_Key_Key struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // key id. The type is slice of Keychain_Keys_Key_Key_KeyId. KeyId []*Keychain_Keys_Key_Key_KeyId }
Keychain_Keys_Key_Key Key properties
func (*Keychain_Keys_Key_Key) GetEntityData ¶
func (key *Keychain_Keys_Key_Key) GetEntityData() *types.CommonEntityData
type Keychain_Keys_Key_Key_KeyId ¶
type Keychain_Keys_Key_Key_KeyId struct { EntityData types.CommonEntityData YFilter yfilter.YFilter YListKey string // Key string. The type is string. KeyString interface{} // Type of key encryption. The type is Enc. Type interface{} // Key ID. The type is string. KeyId interface{} // Cryptographic algorithm. The type is CrytoAlgo. CryptographicAlgorithm interface{} // To check if it's a macsec key. Macsec Keychain_Keys_Key_Key_KeyId_Macsec // Lifetime of the key. SendLifetime Keychain_Keys_Key_Key_KeyId_SendLifetime // Accept Lifetime of the key. AcceptLifetime Keychain_Keys_Key_Key_KeyId_AcceptLifetime }
Keychain_Keys_Key_Key_KeyId key id
func (*Keychain_Keys_Key_Key_KeyId) GetEntityData ¶
func (keyId *Keychain_Keys_Key_Key_KeyId) GetEntityData() *types.CommonEntityData
type Keychain_Keys_Key_Key_KeyId_AcceptLifetime ¶
type Keychain_Keys_Key_Key_KeyId_AcceptLifetime struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Key life start time in format : day-of-week month date-of-month HH:MM:SS // year eg: Thu Feb 1 18:32:14 2011. The type is string. Start interface{} // Key life end time in format : day-of-week month date-of-month HH:MM:SS year // eg: Thu Feb 1 18:32 :14 2011. The type is string. End interface{} // Duration of the key in seconds. value 0xffffffff reflects infinite, never // expires, is configured . The type is string. Units are second. Duration interface{} // Is TRUE if duration is 0xffffffff . The type is bool. IsAlwaysValid interface{} // Is TRUE if current time is betweenstart and end lifetime , else FALSE. The // type is bool. IsValidNow interface{} }
Keychain_Keys_Key_Key_KeyId_AcceptLifetime Accept Lifetime of the key
func (*Keychain_Keys_Key_Key_KeyId_AcceptLifetime) GetEntityData ¶
func (acceptLifetime *Keychain_Keys_Key_Key_KeyId_AcceptLifetime) GetEntityData() *types.CommonEntityData
type Keychain_Keys_Key_Key_KeyId_Macsec ¶
type Keychain_Keys_Key_Key_KeyId_Macsec struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // To check if it's a macsec key. The type is bool. IsMacsecKey interface{} }
Keychain_Keys_Key_Key_KeyId_Macsec To check if it's a macsec key
func (*Keychain_Keys_Key_Key_KeyId_Macsec) GetEntityData ¶
func (macsec *Keychain_Keys_Key_Key_KeyId_Macsec) GetEntityData() *types.CommonEntityData
type Keychain_Keys_Key_Key_KeyId_SendLifetime ¶
type Keychain_Keys_Key_Key_KeyId_SendLifetime struct { EntityData types.CommonEntityData YFilter yfilter.YFilter // Key life start time in format : day-of-week month date-of-month HH:MM:SS // year eg: Thu Feb 1 18:32:14 2011. The type is string. Start interface{} // Key life end time in format : day-of-week month date-of-month HH:MM:SS year // eg: Thu Feb 1 18:32 :14 2011. The type is string. End interface{} // Duration of the key in seconds. value 0xffffffff reflects infinite, never // expires, is configured . The type is string. Units are second. Duration interface{} // Is TRUE if duration is 0xffffffff . The type is bool. IsAlwaysValid interface{} // Is TRUE if current time is betweenstart and end lifetime , else FALSE. The // type is bool. IsValidNow interface{} }
Keychain_Keys_Key_Key_KeyId_SendLifetime Lifetime of the key
func (*Keychain_Keys_Key_Key_KeyId_SendLifetime) GetEntityData ¶
func (sendLifetime *Keychain_Keys_Key_Key_KeyId_SendLifetime) GetEntityData() *types.CommonEntityData