#NEWLINE# @ classmethod #NEWLINE# def from_sec( class_ , sec , netcode = 'BTC' ) : #NEWLINE# #INDENT# '\n        Create a key from an sec bytestream (which is an encoding of a public pair).\n        ' #NEWLINE# public_pair = sec_to_public_pair ( sec ) #NEWLINE# return class_ ( public_pair = public_pair , is_compressed = is_sec_compressed ( sec ) , netcode = netcode )