Codota Logo
XmlSubject.getCommonName
Code IndexAdd Codota to your IDE (free)

How to use
getCommonName
method
in
eu.europa.esig.dss.jaxb.simplecertificatereport.XmlSubject

Best Java code snippets using eu.europa.esig.dss.jaxb.simplecertificatereport.XmlSubject.getCommonName (Showing top 1 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: esig/dss

/**
 * This method returns the commonName attribute for a given certificate
 * 
 * @param certificateId
 *            the certificate id
 * @return the commonName if available or null
 */
public String getCertificateCommonName(String certificateId) {
  XmlChainItem cert = getCertificate(certificateId);
  if (cert != null) {
    return cert.getSubject().getCommonName();
  }
  return null;
}
eu.europa.esig.dss.jaxb.simplecertificatereportXmlSubjectgetCommonName

Javadoc

Gets the value of the commonName property.

Popular methods of XmlSubject

  • <init>
  • getCountry
    Gets the value of the country property.
  • getEmail
    Gets the value of the email property.
  • getGivenName
    Gets the value of the givenName property.
  • getLocality
    Gets the value of the locality property.
  • getOrganizationName
    Gets the value of the organizationName property.
  • getOrganizationUnit
    Gets the value of the organizationUnit property.
  • getPseudonym
    Gets the value of the pseudonym property.
  • getState
    Gets the value of the state property.
  • getSurname
    Gets the value of the surname property.
  • setCommonName
    Sets the value of the commonName property.
  • setCountry
    Sets the value of the country property.
  • setCommonName,
  • setCountry,
  • setEmail,
  • setGivenName,
  • setLocality,
  • setOrganizationName,
  • setOrganizationUnit,
  • setPseudonym,
  • setState

Popular in Java

  • Updating database using SQL prepared statement
  • findViewById (Activity)
  • putExtra (Intent)
  • onCreateOptionsMenu (Activity)
  • Kernel (java.awt.image)
  • PrintStream (java.io)
    A PrintStream adds functionality to another output stream, namely the ability to print representatio
  • URLConnection (java.net)
    The abstract class URLConnection is the superclass of all classes that represent a communications li
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now