In order to aid keymasters erase their memory efficiently, introduce new
delete_all API to tell keymasters to forget everything. This will be
triggered when keystore itself is told to reset.
Change-Id: I730375f1f32cd1ea0bf1fa38d5b1bec2f81ba492
Switch from unspecified encoding for import of keys to PKCS#8 (Java
standard encoding).
Add function for obtaining the public key from a keypair.
Add fields for RSA key generation that indicate modulus size and desired
public exponent.
Add in placeholder fields for possible digest and padding types for
signatures. Currently the only thing supported is "none" and "none"
respectively.
Change-Id: I19ee02cf35321aee859e2460a963c7213791414b