Contents

SecKeyCopyAttributes(_:)

Gets the attributes of a given key.

Declaration

func SecKeyCopyAttributes(_ key: SecKey) -> CFDictionary?

Parameters

  • key:

    The key whose attributes you want.

Return Value

A dictionary containing the key’s attributes. In Objective-C, call the CFRelease function to free this dictionary’s memory when you are done with it.