Beispiel #1
0
 /**
  * Returns the identity of this credential.
  *
  * @see #getIdentityCertificate()
  * @return The identity cert in Globus format (e.g. /C=US/..). Null, if unable to get the identity
  *     (an error occurred)
  */
 public String getIdentity() {
   try {
     return BouncyCastleUtil.getIdentity(this.certChain);
   } catch (CertificateException e) {
     logger.debug("Error getting certificate identity.", e);
     return null;
   }
 }