code: public Object inquireByOid(Oid oid)
          throws GSSException {
          if (oid == null) {
              throw new GlobusGSSException(GSSException.FAILURE,
                                           GlobusGSSException.BAD_ARGUMENT,
                                           "nullOption");
          }
  
          if (oid.equals(GSSConstants.X509_CERT_CHAIN)) {
              if (isEstablished()) {
                  // converting certs is slower but keeping coverted certs
                  // takes lots of memory.
                  try {
  /*DEL
                      Vector peerCerts = this.conn.getCertificateChain();
  */
                      Certificate[] peerCerts;
  		    try {
  			peerCerts = this.sslEngine.getSession().getPeerCertificates();
  		    } catch (SSLPeerUnverifiedException e) {
  			peerCerts = null;
  		    }
                      if (peerCerts != null && peerCerts.length > 0) {
  /*DEL
                          return PureTLSUtil.certificateChainToArray(peerCerts);
  */
                          return (X509Certificate[])peerCerts;
                      } else {
                          return null;
                      }
                  } catch (Exception e) {
                      throw new GlobusGSSException(
                               GSSException.DEFECTIVE_CREDENTIAL,
                               e
                      );
                  }
              }
          } else if (oid.equals(GSSConstants.RECEIVED_LIMITED_PROXY)) {
              return this.peerLimited;
          }
  
          return null;
      }
docs: Retrieves arbitrary data about this context.
  Currently supported oid: <UL>
  <LI>
  {@link GSSConstants#X509_CERT_CHAIN GSSConstants.X509_CERT_CHAIN}
  returns certificate chain of the peer (<code>X509Certificate[]</code>).
  </LI>
  </UL>
  
  @param oid the oid of the information desired.
  @return the information desired. Might be null.
  @exception GSSException containing the following major error codes:
  <code>GSSException.FAILURE</code>