| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
CRLDistributionPoint
An object representing a CRL Distribution Point
|
|||
|
|||
a new object with type S, a subtype of T |
|
||
|
|||
|
|||
string) |
|
||
[(level, string),...] |
|
||
(general_name, ...) |
|
||
(reason, ...) |
|
||
|
Inherited from |
|||
|
|||
|
issuer returns the CRL Issuer as a GeneralName object if defined, returns None if not defined |
|||
|
Inherited from |
|||
|
|||
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
|
repr(x)
|
str(x)
|
:Parameters:
level : integer
Initial indentation level, all subsequent indents are relative
to this starting level.
indent : string
string replicated once for each indent level then prepended to output line
This is equivalent to:
nss.indented_format(cert.signed_data.format_lines())
|
:Parameters:
level : integer
Initial indentation level, all subsequent indents are relative
to this starting level.
Formats the object into a sequence of lines with indent level
information. The return value is a list where each list item is a 2
valued tuple pair. The first item in the pair is an integer
representing the indentation level for that line and the second item
in the pair is the string value for the line.
The output of this function can be formatted into a single string
by calling nss.indented_format(). The reason this function returns
(level, string) pairs as opposed to an single indented string is to
support other text formatting systems with indentation controls.
|
:Parameters:
repr_kind : RepresentationKind constant
Specifies what the contents of the returned tuple will be.
May be one of:
AsObject
The general name as a nss.GeneralName object
AsString
The general name as a string.
(e.g. "http://crl.geotrust.com/crls/secureca.crl")
AsTypeString
The general name type as a string.
(e.g. "URI")
AsTypeEnum
The general name type as a general name type enumerated constant.
(e.g. nss.certURI )
AsLabeledString
The general name as a string with it's type prepended.
(e.g. "URI: http://crl.geotrust.com/crls/secureca.crl"
Returns a tuple of general names in the CRL Distribution Point. If the
distribution point type is not nss.generalName or the list was empty then
the returned tuple will be empty.
You may specify how the each member of the tuple is represented, by default
it will be as a string.
|
:Parameters:
repr_kind : RepresentationKind constant
Specifies what the contents of the returned tuple will be.
May be one of:
AsEnum
The enumerated constant.
(e.g. nss.crlEntryReasonCaCompromise)
AsEnumDescription
A friendly human readable description of the enumerated constant as a string.
(e.g. "CA Compromise")
AsIndex
The bit position within the bit string.
Returns a tuple of reasons in the CRL Distribution Point. If no
reasons were defined the returned tuple will be empty.
You may specify how the each member of the tuple is represented, by default
it will be as a string.
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Sat Oct 27 13:05:34 2012 | http://epydoc.sourceforge.net |