Lines Matching refs:key
43 * key attestation certificates, signed with a key injected in a secure
75 * Generates a key, or key pair, returning a key blob and/or a description of the key.
82 * @return keyBlob Opaque, encrypted descriptor of the generated key, which generally contains a
83 * copy of the key material, wrapped in a key unavailable outside secure hardware.
85 * @return keyCharacteristics Description of the generated key. See KeyCharacteristis in
92 * Imports a key, or key pair, returning a key blob and/or a description of the key.
97 * @param keyFormat The format of the key material to import. See KeyFormat in types.hal.
99 * @pram keyData The key material to import, in the format specifed in keyFormat.
103 * @return keyBlob Opaque, encrypted descriptor of the generated key, which will generally
104 * contain a copy of the key material, wrapped in a key unavailable outside secure
107 * @return keyCharacteristics Decription of the generated key. See KeyCharacteristis.
115 * Returns the characteristics of the specified key, if the keyBlob is valid (implementations
116 * must fully validate the integrity of the key).
121 * Tag::APPLICATION_ID data provided during key generation/import. Without the
123 * obtain the key material.
126 * Tag::APPLICATION_DATA data provided during key generation/import. Without the
128 * obtain the key material.
132 * @return keyCharacteristics Decription of the generated key. See KeyCharacteristis in
139 * Exports a public key, returning the key in the specified format.
144 * referenced key must be asymmetric.
147 * Tag::APPLICATION_ID data provided during key generation/import. Without the
149 * obtain the key material.
152 * Tag::APPLICATION_DATA data provided during key generation/import. Without the
154 * obtain the key material.
158 * @return keyMaterial The public key material in PKCS#8 format.
168 * https://developer.android.com/training/articles/security-key-attestation.html.
171 * referenced key must be asymmetric.
181 * Upgrades an old key. Keys can become "old" in two ways: Keymaster can be upgraded to a new
183 * either case, attempts to use an old key with getKeyCharacteristics(), exportKey(),
185 * ErrorCode::KEY_REQUIRES_UPGRADE. This method must then be called to upgrade the key.
198 * Deletes the key, or key pair, associated with the key blob. After calling this function it
199 * will be impossible to use the key for any other operations. May be applied to keys from
212 * calling this function it will be impossible to use any previously generated or imported key
237 * Begins a cryptographic operation using the specified key. If all is well, begin() will return
254 * @param keyBlob The opaque key descriptor returned by generateKey() or importKey(). The key
274 begin(KeyPurpose purpose, vec<uint8_t> key, vec<KeyParameter> inParams)