code: public static final X509Certificate getInstance(byte[] certData)
                                               throws CertificateException {
          if (certData == null) {
              throw new CertificateException("certData == null");
          }
          ByteArrayInputStream bais = new ByteArrayInputStream(certData);
          return getInstance(bais);
      }
docs: Creates a new {@code X509Certificate} and initializes it from the
  specified byte array.
  
  @param certData
  byte array containing data to initialize the certificate.
  @return the certificate initialized from the specified byte array
  @throws CertificateException
  if the certificate cannot be created or initialized.