This example demonstrate how to have a token generate a key using a PKCS 11 mechanism.
The key material is then read off the token as one of its attributes.