open static fun fromInteger(key: BigInteger): SecretKey
Create the private key from a BigInteger.
key - The integer describing the key.
key
IllegalArgumentException - If the integer would overflow 32 bytes.
IllegalArgumentException
Return The private key.