Import encryption key material and bind it to algorithm. Throws KEY_TYPE_MISMATCH when material and algorithm disagree, and KEY_IMPORT_FAILED for anything else.
algorithm
KEY_TYPE_MISMATCH
KEY_IMPORT_FAILED
Import encryption key material and bind it to
algorithm. ThrowsKEY_TYPE_MISMATCHwhen material and algorithm disagree, andKEY_IMPORT_FAILEDfor anything else.