Package org.platformlayer.auth.model

Examples of org.platformlayer.auth.model.CertificateChainInfo


  protected TokenService tokenService;

  protected void requireSystemAccess() throws AuthenticatorException {
    X509Certificate[] certChain = getCertificateChain();
    if (certChain != null && certChain.length != 0) {
      CertificateChainInfo chain = new CertificateChainInfo();
      for (X509Certificate cert : certChain) {
        CertificateInfo info = new CertificateInfo();

        info.publicKey = Hex.toHex(cert.getPublicKey().getEncoded());
        info.subjectDN = Certificates.getSubject(cert);
View Full Code Here

TOP

Related Classes of org.platformlayer.auth.model.CertificateChainInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.