Summary:
See also: The Genero Web Services XML Library
The KeyStore class provides static methods to handle a key store global to the entire application. It enables to register X509 and trusted certificates, and any kind of key by name for automatic XML signature validation or XML decryption.
The status is set to zero after a successful method call.
xml.KeyStore
Class Methods | |
Name | Description |
xml.KeyStore.AddTrustedCertificate( |
Registers the given X509 certificate
as a trusted certificate for the application. It will be used for
signature verification if no other certificate was set for that
purpose. |
xml.KeyStore.AddCertificate( |
Registers the given X509 certificate
as a certificate for the application. It will be used when an
incomplete X509 certificate is detected during signature or encryption
to complete the process by checking the certificate issuer name and
serial number. |
xml.KeyStore.AddKey( |
Registers the given key by name to
the application. It is used for XML signature verification or XML
decryption when a key name was specified in the XML KeyInfo
node and no other key was set in the Signature or Encryption object. |