'With `subject_string` as you get from:
$ openssl x509 -in certificate.crt -text'

def __init__(self, subject_string):

    self.subjects = []
    for s in subject_string.split(',    '):
        (name, _, value) = s.partition('    =    ')
        self.subjects.append((name, value))
