Tabnine Logo
X509CertificateChain.<init>
Code IndexAdd Tabnine to your IDE (free)

How to use
ca.nrc.cadc.auth.X509CertificateChain
constructor

Best Java code snippets using ca.nrc.cadc.auth.X509CertificateChain.<init> (Showing top 4 results out of 315)

origin: org.opencadc/cadc-util

/**
 * Create a subject with the specified certificate chain and private key.
 * This method constructs an X509CertificateChain and then calls
 * getSubject(X509CertificateChain).
 *
 * @param certs a non-null and non-empty certificate chain
 * @param key optional private key
 * @return a Subject
 */
public static Subject getSubject(X509Certificate[] certs, PrivateKey key)
{
  final X509CertificateChain chain = new X509CertificateChain(certs, key);
  return getSubject(chain);
}
origin: org.opencadc/cadc-util

chain = new X509CertificateChain(Arrays.asList(ca));
if (chain != null) {
  principals.add(chain.getPrincipal());
origin: org.opencadc/cadc-util

X509Certificate[] chain = readCertificateChain(certificates);
return new X509CertificateChain(chain, pk);
origin: org.opencadc/cadc-auth-restlet

        "org.restlet.https.clientCertificates");
if ((requestCertificates != null) && (!requestCertificates.isEmpty())) {
  this.chain = new X509CertificateChain(requestCertificates);
  principals.add(this.chain.getPrincipal());
ca.nrc.cadc.authX509CertificateChain<init>

Popular methods of X509CertificateChain

  • getChain
  • getPrincipal
  • getPrivateKey
  • findPrivateKeyChain
  • genExpiryDate
  • genHashKey
  • getKey
  • getX500Principal
  • initPrincipal

Popular in Java

  • Creating JSON documents from java classes using gson
  • putExtra (Intent)
  • setContentView (Activity)
  • requestLocationUpdates (LocationManager)
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • System (java.lang)
    Provides access to system-related information and resources including standard input and output. Ena
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • MessageFormat (java.text)
    Produces concatenated messages in language-neutral way. New code should probably use java.util.Forma
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top plugins for Android Studio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now