#NEWLINE# def __init__( self , directory ) : #NEWLINE# #INDENT# '\n        :param FilePath directory: Directory where the certificates can be\n            found.\n        ' #NEWLINE# self . directory = directory #NEWLINE# self . cluster = CertAndKey ( directory . child ( b'cluster.crt' ) , directory . child ( b'cluster.key' ) ) #NEWLINE# self . control = CertAndKey ( directory . globChildren ( b'control-*.crt' ) [ 0 ] , directory . globChildren ( b'control-*.key' ) [ 0 ] ) #NEWLINE# self . user = CertAndKey ( directory . child ( b'user.crt' ) , directory . child ( b'user.key' ) ) #NEWLINE# nodes = [ ] #NEWLINE# for child in directory . globChildren ( b'node-*.crt' ) : #NEWLINE# #INDENT# sibling = FilePath ( ( child . path [ : ( - 3 ) ] + b'key' ) ) #NEWLINE# nodes . append ( CertAndKey ( child , self ) ) #NEWLINE# #UNINDENT# self . nodes = nodes