Within the Globus GSI Credential Library, all credential operations require a handle parameter. Currenlty only one operation may be in progress at once per credential handle.
This section defines operations to create, modify and destroy GSI Credential handles.
|
GSI Credential Handle. A GSI Credential handle keeps track of state relating to a credential. Handles can have immutable attributes associated with them. All credential operations take a credential handle pointer as a parameter.
|
|
Initializes a credential handle to be used credential handling functions. Takes a set of handle attributes that are immutable to the handle. The handle attributes are only pointed to by the handle, so the lifetime of the attributes needs to be as long as that of the handle.
|
|
Destroys the credential handle.
|
|
Copies a credential handle.
|
|
This function retreives a copy of the credential handle attributes.
|
|
This function retreives the expiration time of the credential contained in the handle.
|
|
This function retreives the lifetime of the credential contained in a handle.
|
|
This function retreives the key strength of the credential contained in a handle.
|
|
Set the Credential's Certificate. The X509 cert that is passed in should be a valid X509 certificate object
|
|
Get the certificate of a credential.
|
|
Set the private key of the credential handle.
|
|
Get the credential handle's private key.
|
|
Set the certificate chain of the credential handle.
|
|
Get the certificate chain of the credential handle.
|
|
Get the credential handle's certificate subject name.
|
|
Get the identity's X509 subject name from the credential handle.
|
|
Get the credential handle's certificate subject name.
|
|
Get the Policies from the Cert Chain in the handle. The policies will be null-terminated as they are added to the handle. If a policy for a cert in the chain doesn't exist, the string in the stack will be set to the static string GLOBUS_NULL_POLICIES
|
|
Get the policy languages from the cert chain in the handle.
|
|
Get the credential handle's certificate issuer name.
|
|
Get the issuer's subject name from the credential handle.
|
|
Get the identity's subject name from the credential handle.
|
|
This function performs path valiadtion on the certificate chain contained in the credential handle.
|
|
This function ensures that the certificate and private key in the credential handle match.
|
about globus |
globus toolkit |
dev.globus
Comments? webmaster@globus.org