key_chain

package
v0.0.0-...-50def94 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 2, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

This YANG module defines the generic configuration data for key-chain. It is intended that the module will be extended by vendors to define vendor-specific key-chain configuration parameters.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyChains

type KeyChains struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Name of the key-chain. The type is string.
	Name interface{}

	// Tolerance for key lifetime acceptance (seconds).
	AcceptTolerance KeyChains_AcceptTolerance

	// One key. The type is slice of KeyChains_Key.
	Key []*KeyChains_Key
}

KeyChains A key-chain is a sequence of keys that are collectively managed for authentication.

func (*KeyChains) GetEntityData

func (keyChains *KeyChains) GetEntityData() *types.CommonEntityData

type KeyChains_AcceptTolerance

type KeyChains_AcceptTolerance struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Tolerance range, in seconds. The type is interface{} with range:
	// 0..4294967295. Units are seconds. The default value is 0.
	Duration interface{}
}

KeyChains_AcceptTolerance Tolerance for key lifetime acceptance (seconds).

func (*KeyChains_AcceptTolerance) GetEntityData

func (acceptTolerance *KeyChains_AcceptTolerance) GetEntityData() *types.CommonEntityData

type KeyChains_Key

type KeyChains_Key struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter
	YListKey   string

	// This attribute is a key. Key id. The type is interface{} with range:
	// 0..18446744073709551615.
	KeyId interface{}

	// The key string.
	KeyString KeyChains_Key_KeyString

	// Specify a key's lifetime.
	Lifetime KeyChains_Key_Lifetime

	// Cryptographic algorithm associated with key.
	CryptoAlgorithm KeyChains_Key_CryptoAlgorithm
}

KeyChains_Key One key.

func (*KeyChains_Key) GetEntityData

func (key *KeyChains_Key) GetEntityData() *types.CommonEntityData

type KeyChains_Key_CryptoAlgorithm

type KeyChains_Key_CryptoAlgorithm struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// The HMAC-SHA1-12 algorithm. The type is interface{}.
	HmacSha112 interface{}

	// The HMAC-SHA1-20 algorithm. The type is interface{}.
	HmacSha120 interface{}

	// The MD5 algorithm. The type is interface{}.
	Md5 interface{}

	// The SHA-1 algorithm. The type is interface{}.
	Sha1 interface{}

	// HMAC-SHA-1 authentication algorithm. The type is interface{}.
	HmacSha1 interface{}

	// HMAC-SHA-256 authentication algorithm. The type is interface{}.
	HmacSha256 interface{}

	// HMAC-SHA-384 authentication algorithm. The type is interface{}.
	HmacSha384 interface{}

	// HMAC-SHA-512 authentication algorithm. The type is interface{}.
	HmacSha512 interface{}
}

KeyChains_Key_CryptoAlgorithm Cryptographic algorithm associated with key.

func (*KeyChains_Key_CryptoAlgorithm) GetEntityData

func (cryptoAlgorithm *KeyChains_Key_CryptoAlgorithm) GetEntityData() *types.CommonEntityData

type KeyChains_Key_KeyString

type KeyChains_Key_KeyString struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Key string in ASCII format. The type is string.
	Keystring interface{}

	// Key in hexadecimal string format. The type is string with pattern:
	// ([0-9a-fA-F]{2}(:[0-9a-fA-F]{2})*)?.
	HexadecimalString interface{}
}

KeyChains_Key_KeyString The key string.

func (*KeyChains_Key_KeyString) GetEntityData

func (keyString *KeyChains_Key_KeyString) GetEntityData() *types.CommonEntityData

type KeyChains_Key_Lifetime

type KeyChains_Key_Lifetime struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Single lifetime specification for both send and accept lifetimes.
	SendAcceptLifetime KeyChains_Key_Lifetime_SendAcceptLifetime

	// Separate lifetime specification for send lifetime.
	SendLifetime KeyChains_Key_Lifetime_SendLifetime

	// Separate lifetime specification for accept lifetime.
	AcceptLifetime KeyChains_Key_Lifetime_AcceptLifetime
}

KeyChains_Key_Lifetime Specify a key's lifetime.

func (*KeyChains_Key_Lifetime) GetEntityData

func (lifetime *KeyChains_Key_Lifetime) GetEntityData() *types.CommonEntityData

type KeyChains_Key_Lifetime_AcceptLifetime

type KeyChains_Key_Lifetime_AcceptLifetime struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Indicates key lifetime is always valid. The type is interface{}.
	Always interface{}

	// Start time. The type is string with pattern:
	// \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[\+\-]\d{2}:\d{2}).
	StartDateTime interface{}

	// Indicates key lifetime end-time in infinite. The type is interface{}.
	NoEndTime interface{}

	// Key lifetime duration, in seconds. The type is interface{} with range:
	// 1..2147483646. Units are seconds.
	Duration interface{}

	// End time. The type is string with pattern:
	// \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[\+\-]\d{2}:\d{2}).
	EndDateTime interface{}
}

KeyChains_Key_Lifetime_AcceptLifetime Separate lifetime specification for accept lifetime.

func (*KeyChains_Key_Lifetime_AcceptLifetime) GetEntityData

func (acceptLifetime *KeyChains_Key_Lifetime_AcceptLifetime) GetEntityData() *types.CommonEntityData

type KeyChains_Key_Lifetime_SendAcceptLifetime

type KeyChains_Key_Lifetime_SendAcceptLifetime struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Indicates key lifetime is always valid. The type is interface{}.
	Always interface{}

	// Start time. The type is string with pattern:
	// \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[\+\-]\d{2}:\d{2}).
	StartDateTime interface{}

	// Indicates key lifetime end-time in infinite. The type is interface{}.
	NoEndTime interface{}

	// Key lifetime duration, in seconds. The type is interface{} with range:
	// 1..2147483646. Units are seconds.
	Duration interface{}

	// End time. The type is string with pattern:
	// \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[\+\-]\d{2}:\d{2}).
	EndDateTime interface{}
}

KeyChains_Key_Lifetime_SendAcceptLifetime Single lifetime specification for both send and accept lifetimes.

func (*KeyChains_Key_Lifetime_SendAcceptLifetime) GetEntityData

func (sendAcceptLifetime *KeyChains_Key_Lifetime_SendAcceptLifetime) GetEntityData() *types.CommonEntityData

type KeyChains_Key_Lifetime_SendLifetime

type KeyChains_Key_Lifetime_SendLifetime struct {
	EntityData types.CommonEntityData
	YFilter    yfilter.YFilter

	// Indicates key lifetime is always valid. The type is interface{}.
	Always interface{}

	// Start time. The type is string with pattern:
	// \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[\+\-]\d{2}:\d{2}).
	StartDateTime interface{}

	// Indicates key lifetime end-time in infinite. The type is interface{}.
	NoEndTime interface{}

	// Key lifetime duration, in seconds. The type is interface{} with range:
	// 1..2147483646. Units are seconds.
	Duration interface{}

	// End time. The type is string with pattern:
	// \d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d+)?(Z|[\+\-]\d{2}:\d{2}).
	EndDateTime interface{}
}

KeyChains_Key_Lifetime_SendLifetime Separate lifetime specification for send lifetime.

func (*KeyChains_Key_Lifetime_SendLifetime) GetEntityData

func (sendLifetime *KeyChains_Key_Lifetime_SendLifetime) GetEntityData() *types.CommonEntityData

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL