Export Global Key
Obtain an instance of the key using the
getSecretKey
method of theNAEKey
class.Export the key bytes to a byte array using the export method.
Code sample
NAEKey key = NAEKey.getSecretKey("globalkey");
byte[] rawkey = key.export();