Client SDK Version 1.8.1
Ionic Security client SDK for Python users
Public Member Functions | Static Public Member Functions | List of all members
ionicsdk.common.UpdateKeyDataList Class Reference

List of pdate keys with convenience functions for searching. More...

Inheritance diagram for ionicsdk.common.UpdateKeyDataList:

Public Member Functions

def getids (self)
 Gets a list of all the key IDs in this KeyDataList. More...
 
def findkey (self, keyid)
 Returns the key object with the matching ID, or None if not found. More...
 

Static Public Member Functions

def FromKeyDataList (pyKeyList, forceUpdate=False)
 Utility method for converting from KeyDataList to UpdateKeyDataList. More...
 

Detailed Description

List of pdate keys with convenience functions for searching.

Member Function Documentation

◆ findkey()

def ionicsdk.common.UpdateKeyDataList.findkey (   self,
  keyid 
)

Returns the key object with the matching ID, or None if not found.

Parameters
keyid(string): The key id to search for
Returns
The UpdateKeyData instance if found, otherwise None

◆ FromKeyDataList()

def ionicsdk.common.UpdateKeyDataList.FromKeyDataList (   pyKeyList,
  forceUpdate = False 
)
static

Utility method for converting from KeyDataList to UpdateKeyDataList.

Parameters
pyKeyList(KeyDataList): Key data list to convert
forceUpdate(bool): Whether to force update or error when asked to update an out of date key.
Returns
An UpdateKeyDataList instance copied from the args

◆ getids()

def ionicsdk.common.UpdateKeyDataList.getids (   self)

Gets a list of all the key IDs in this KeyDataList.

Returns
A list of the key IDs in this list

The documentation for this class was generated from the following file: