Table of Contents

Module: security ./pyGlobus/security.py

A module to provide some of the shared GSI functionality.

Imported modules   
from pyGlobus import gsic
from pyGlobus.util import GlobusException
Functions   
genreq
get_default_user_credential
grid_proxy_init
gss_init_cred_factory
gss_no_cred_factory
import_external
release_gpi
sign_request
  genreq 
genreq (
        issuer_gsscred,
        sub_gsscred,
        X509_request,
        private_key,
        bits=512,
        )

Creates a X509_REQ and EVP_PKEY object, gsscred issuer's name is used for generation of gsscred sub's name. gsscred sub object used for ??

Not supported for gt-2.2

Exceptions   
GSIException, 'generate request failed'
  get_default_user_credential 
get_default_user_credential ()

  grid_proxy_init 
grid_proxy_init ( verbose=1 )

Returns a SWIG'ized gss_cred_id_desc pointer

Exceptions   
GSIException( cred )
  gss_init_cred_factory 
gss_init_cred_factory ()

Returns a GSSCred containing an initialized pcd structure.

Not supported for gt-2.2

  gss_no_cred_factory 
gss_no_cred_factory ()

Returns a GSSCred containing GSS_C_NO_CRED.

GSS_C_NO_CRED is used by many GSI calls to indicate the usage of the default credential.

  import_external 
import_external ( handle )

Exceptions   
ex
  release_gpi 
release_gpi ( cred )

function that releases the user proxy created by grid_proxy_init function

cred is a SWIG'ized gss_cred_id_desc pointer

This is necessary because we can't use this pointer in GSSCred object :(

  sign_request 
sign_request (
        icred,
        scred,
        req,
        )

Not supported for gt-2.2

Classes   

EVP_Key

A proxy class for the underlying X509_REQ EVP_PKEY objects.

GSIException

A sub-class of GlobusExcetpion.

GSSContext

A proxy class for the underlying gss_ctx_id_t object.

GSSContextException

A sub-class of GSSContextException.

GSSCred

A proxy class for the underlying gss_cred_id_t object.

GSSCredException

A sub-class of GSIException.

GSSName

A proxy class for the underlying gss_name_t object.

GSSNameException

A sub-class of GSSContextException.

X509_Request

A proxy class for the underlying X509_REQ* objects.


Table of Contents

This document was automatically generated on Tue Feb 4 16:47:03 2003 by HappyDoc version 2.1