more complexity refactoring in R509::ASN1