Package osaf :: Package framework :: Package certstore :: Module certificate :: Class Certificate
[frames | no frames]

Type Certificate

object --+                
         |                
     CItem --+            
             |            
          Item --+        
                 |        
              Item --+    
                     |    
           ContentItem --+
                         |
                        Certificate


Certificate

See Also: model

Method Summary
str asTextAsString(self)
Get the asText attribute (which is stored as a LOB) as a str.
M2Crypto.X509.X509 asX509(self)
Get the pem (which is stored as a LOB) as a M2Crypto.X509.X509 instance.
  getAuthenticityBit(self)
  getSiteBit(self)
str pemAsString(self)
Get the pem attribute (which is stored as a LOB) as a str.
  setAuthenticityBit(self, authBit)
  setSiteBit(self, siteBit)
Inherited from ContentItem: __init__, __str__, __unicode__, addToCollection, ExportItemData, getBasedAttributes, getCurrentMeEmailAddress, getEmailAddress, getMembershipItem, getSharedState, InitOutgoingAttributes, isAttributeModifiable, ItemAboutString, ItemBodyString, ItemWhoFromString, ItemWhoString, removeFromCollection, SetItemBodyString, StampKind
Inherited from Item: getDefaultParent, getKind, iterItems
Inherited from Item: __getitem__, __iter__, _repr_, addValue, check, clone, collectionChanged, copy, delete, dir, find, findMatch, findPath, findUUID, getACL, getAttributeValue, getItemChild, getItemCloud, getItemDisplayName, getItemDisplayString, getValue, getVersion, hasAttributeAspect, hasChild, hasChildren, hashItem, hasKey, hasLocalAttributeValue, hasValue, isAttributeDirty, isItemOf, isRemote, iterAttributeValues, iterChildren, mixinKinds, move, placeChild, printItem, refCount, removeACL, removeAttributeValue, removeValue, rename, setACL, setAttributeValue, setPinned, setValue, unwatchCollection, unwatchKind, walk, watchCollection, watchKind
Inherited from CItem: __new__, __repr__, getAttributeAspect, getDirty, isDeleted, isDeleting, isDirty, isNew, isPinned, isSchema, isStale, setDirty
Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __setattr__

Property Summary
  authenticityBit: Authenticity bit.
  siteBit: Site bit.
Inherited from ContentItem: bodyString, sharedState

Instance Variable Summary
  about: One(None)
  asText: Human readable certificate value -- One(Lob)
  body: attribute descriptor
  collections: attribute descriptor
  contentsOwner: attribute descriptor
  createdOn: attribute descriptor
  creator: attribute descriptor
  date: One(None)
  description: attribute descriptor
  displayName: Display Name -- One(Text)
  fingerprint: One(Bytes)
  fingerprintAlgorithm: fingerprint algorithm -- One(Bytes)
  importance: attribute descriptor
  kindExtent: attribute descriptor
  lastModified: attribute descriptor
  lastModifiedBy: attribute descriptor
  mine: attribute descriptor
  modifiedOn: attribute descriptor
  monitors: attribute descriptor
  pem: PEM -- One(Lob)
  previousStamps: attribute descriptor
  private: attribute descriptor
  read: attribute descriptor
  references: attribute descriptor
  sharedIn: attribute descriptor
  shares: attribute descriptor
  TPBDetailItemOwner: attribute descriptor
  TPBSelectedItemOwner: attribute descriptor
  trust: Trust -- One(Integer)
  type: Certificate type -- One(typeEnum)
  viewContainer: attribute descriptor
  watcherDispatch: attribute descriptor
  watchers: attribute descriptor
  watches: attribute descriptor
  who: One(None)
Inherited from Item: aliasedBy, path, typeFor, version
Inherited from CItem: itsKind, itsName, itsParent, itsPath, itsRoot, itsUUID, itsVersion, itsView

Class Variable Summary
dict __kind_info__ = {'displayName': u'Certificate'}
Inherited from ContentItem: __kind_clouds__, READONLY, READWRITE, UNSHARED
Inherited from Item: __default_path__
Inherited from CItem: ADIRTY, CDIRTY, CMERGED, CONTAINER, COPYEXPORT, CORESCHEMA, DELETED, DELETING, DIRTY, FDIRTY, IMPORTING, MERGED, MUTATING, NDIRTY, NEW, NMERGED, NODIRTY, PINNED, RAW, RDIRTY, RMERGED, SAVEMASK, SCHEMA, STALE, VDIRTY, VMERGED, VRDIRTY

Instance Method Details

asTextAsString(self)

Get the asText attribute (which is stored as a LOB) as a str.
Returns:
asText as str
           (type=str)

asX509(self)

Get the pem (which is stored as a LOB) as a M2Crypto.X509.X509 instance.
Returns:
pem as M2Crypto.X509.X509.
           (type=M2Crypto.X509.X509)

pemAsString(self)

Get the pem attribute (which is stored as a LOB) as a str.
Returns:
pem as str
           (type=str)

Property Details

authenticityBit

Authenticity bit.
Get Method:
getAuthenticityBit(self)
Set Method:
setAuthenticityBit(self, authBit)

siteBit

Site bit.
Get Method:
getSiteBit(self)
Set Method:
setSiteBit(self, siteBit)

Instance Variable Details

about

One(None)

Issues: type would make more sense, but it isn't supported for summary view.
Value:
<Role about of <class 'osaf.framework.certstore.certificate.Certificat\
e'>>                                                                   

asText

Human readable certificate value -- One(Lob)

An X.509 certificate in human readable format.
Value:
<Role asText of <class 'osaf.framework.certstore.certificate.Certifica\
te'>>                                                                  

body

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b4854c>                 

collections

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b4850c>                 

contentsOwner

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b4856c>                 

createdOn

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b487ec>                 

creator

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b4828c>                 

date

One(None)
Value:
<Role date of <class 'osaf.framework.certstore.certificate.Certificate\
'>>                                                                    

description

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b485ac>                 

displayName

Display Name -- One(Text)

Display Name.
Value:
<Role displayName of <class 'osaf.framework.certstore.certificate.Cert\
ificate'>>                                                             

fingerprint

One(Bytes)

A hash of the certificate using algorithm named in fingerprintAlgorithm attribute.
Value:
<Role fingerprint of <class 'osaf.framework.certstore.certificate.Cert\
ificate'>>                                                             

fingerprintAlgorithm

fingerprint algorithm -- One(Bytes)

A name of a hash algorithm that was used to compute fingerprint.
Value:
<Role fingerprintAlgorithm of <class 'osaf.framework.certstore.certifi\
cate.Certificate'>>                                                    

importance

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b4870c>                 

kindExtent

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b4878c>                 

lastModified

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b48a0c>                 

lastModifiedBy

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b4848c>                 

mine

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b482cc>                 

modifiedOn

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b4824c>                 

monitors

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b4838c>                 

pem

PEM -- One(Lob)

An X.509 certificate in PEM format.
Value:
<Role pem of <class 'osaf.framework.certstore.certificate.Certificate'\
>>                                                                     

previousStamps

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b484ec>                 

private

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b4876c>                 

read

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b4860c>                 

references

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b4842c>                 

sharedIn

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b4882c>                 

shares

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b4844c>                 

TPBDetailItemOwner

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b4834c>                 

TPBSelectedItemOwner

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b486ac>                 

trust

Trust -- One(Integer)

A certificate can have no trust assigned to it, or any combination of 1=trust authenticity of certificate, 2=trust to issue site certificates.
Value:
<Role trust of <class 'osaf.framework.certstore.certificate.Certificat\
e'>>                                                                   

type

Certificate type -- One(typeEnum)

Certificate type.
Value:
<Role type of <class 'osaf.framework.certstore.certificate.Certificate\
'>>                                                                    

viewContainer

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b4862c>                 

watcherDispatch

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b483cc>                 

watchers

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b48b6c>                 

watches

attribute descriptor
Value:
<chandlerdb.schema.c.CDescriptor object at 0xb6b4830c>                 

who

One(None)
Value:
<Role who of <class 'osaf.framework.certstore.certificate.Certificate'\
>>                                                                     

Class Variable Details

__kind_info__

Type:
dict
Value:
{'displayName': u'Certificate'}                                        

Generated by Epydoc 2.1 on Mon Dec 19 13:33:26 2005 http://epydoc.sf.net