code: public PublicKey getPublicKey() {
          if (info == null)
              return null;
          try {
              PublicKey key = (PublicKey)info.get(CertificateX509Key.NAME
                                  + DOT + CertificateX509Key.KEY);
              return key;
          } catch (Exception e) {
              return null;
          }
      }
docs: Gets the publickey from this certificate.
  
  @return the publickey.