def install(cert,
            password,
            keychain="/Library/Keychains/System.keychain",
            allow_any=False,
            keychain_password=None):
    if keychain_password is not None:
        unlock_keychain(keychain, keychain_password)

    cmd = 'security import {0} -P {1} -k {2}'.format(cert, password, keychain)
    if allow_any:
        cmd += ' -A'
    return __salt__['cmd.run'](cmd)
Ask YubiHSM to load arbitrary data into it's internal buffer, at any offset.
dataset/ETHPy150Open saltstack/salt/salt/modules/mac_keychain.py/install--crossover with--dataset/ETHPy150Open Yubico/python-pyhsm/pyhsm/base.py/YHSM.load_data