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