get_name(repr_kind=AsString)
|
|
- 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 the value of the GeneralName according to the representation type parameter.
- Returns:
|