The CryptoKey class / xml.CryptoKey methods |
Derives the symmetric or HMAC CryptoKey object using the given method identifier and concatenating the optional label, the mandatory seed value and the optional created date as initial random value.
deriveKey( method STRING, label STRING, seed STRING, created STRING, offset INTEGER, size INTEGER )
If it is a symmetric key, the size can be 0, or must match the original key according to key identifier.
See Derived keys for more details.
In case of error, the method throws an exception and sets the STATUS variable with the appropriate error number.