felexible api for x509.extension