Key Property
The key to use for the cryptographic operation.
Syntax
public CryptoKey getKey(); public void setKey(CryptoKey key);
Remarks
Use this property to provide the symmetric key to use for the cryptographic operation.Remember that this key should be of appropriate type and length, and any requiredadditional settings (such as IV or Nonce) should be adjusted where appropriate.
This property is not available at design time.