def decode_cert(b64der):
 try:
  return util.ComparableX509(OpenSSL.crypto.load_certificate(OpenSSL.crypto.FILETYPE_ASN1, decode_b64jose(b64der)))
 except OpenSSL.crypto.Error as error:
  raise errors.DeserializationError(error)

def decode_cert ( b64der ) : try : return util . ComparableX509 ( OpenSSL . crypto . load_certificate ( OpenSSL . crypto . FILETYPE_ASN1 , decode_b64jose ( b64der ) ) ) except OpenSSL . crypto . Error as error : raise errors . DeserializationError ( error )
decode jose base-64 der-encoded certificate .