+xns/Certification
Message: GenerateKeyPair

+xns/Core/XNSObject
   |
   +--+xns/Core/Message
         |
         +--+xns/Certification/GenerateKeyPair


Generates a new public/private key pair and returns a public key certificate. The private key is stored within the identity. The public key certificate returned is signed by the identity's host. This message will succeed only if no key pair exists for the identity or the current public key certificate has been revoked (usually due to a compromised private key in the identity or somewhere in the CA key chain.)

To: Identity being requested to generate its new key pair.
From: Any identity or application; ususally the host identity.


 

Output
+xns/Certification/PublicKeyCert PublicKey Newly generated public key, certified by the to-identity's host.
 

Exceptions
CurrentKeyExpired The public key certificate has expired, but has not been revoked. (Use RequestCert to generate a new certifiate with a new expiration date.)
 

Output Detail

PublicKey

Newly generated public key, certified by the to-identity's host.  

DataType: +xns/Certification/PublicKeyCert
 


Publishing Identity: +xns
© 2002 XNSORG
Last Updated: 07/09/2002