#NEWLINE# def __init__( self , fqdn , notBefore = DEFAULT_HOUR_BEFORE , notAfter = DEFAULT_HOUR_AFTER , key = None , kSize = DEFAULT_KSIZE , kType = DEFAULT_KTYPE , version = DEFAULT_VERSION , digest = DEFAULT_DIGEST , serial = None ) : #NEWLINE# #INDENT# self . fqdn = fqdn #NEWLINE# self . digest = digest #NEWLINE# self . serial = serial #NEWLINE# self . version = version #NEWLINE# self . notBefore = notBefore #NEWLINE# self . notAfter = notAfter #NEWLINE# self . serial = ( serial if serial else getNewSerial ( ) ) #NEWLINE# self . certKey = CertKey ( key , kSize , kType )