PKIXCertPathValidatorResult
Code IndexAdd Codota to your IDE (free)

Best Java code snippets using java.security.cert.PKIXCertPathValidatorResult (Showing top 20 results out of 315)

  • Common ways to obtain PKIXCertPathValidatorResult
private void myMethod () {
PKIXCertPathValidatorResult p =
  • CertPathValidator validator;CertPath certPath;CertPathParameters params;(PKIXCertPathValidatorResult) validator.validate(certPath, params)
  • Smart code suggestions by Codota
}
origin: igniterealtime/Openfire

X509Certificate trustedCert = cpvResult.getTrustAnchor().getTrustedCert();
if(trustedCert == null) {
  throw new CertificateException("certificate path failed: Trusted CA is NULL");
origin: robovm/robovm

  /**
   * Returns a string representation of this {@code PKIXCertPathBuilderResult}
   * instance.
   *
   * @return a string representation of this {@code PKIXCertPathBuilderResult}
   *         instance.
   */
  public String toString() {
    StringBuilder sb = new StringBuilder(super.toString());
    sb.append("\n Certification Path: ");
    sb.append(certPath.toString());
    sb.append("\n]");
    return sb.toString();
  }
}
origin: ibinti/bugvm

.getTrustAnchor(), result.getPolicyTree(), result
.getPublicKey());
origin: fr.acinq/bitcoinj-core

  PublicKey publicKey = result.getPublicKey();
    throw new PaymentProtocolException.PkiVerificationException("Could not extract name from certificate");
  return new PkiVerificationData(displayName, publicKey, result.getTrustAnchor());
} catch (InvalidProtocolBufferException e) {
origin: stackoverflow.com

X500Principal root = result.getTrustAnchor().getTrustedCert().getSubjectX500Principal();
String policy = policies.get(root);
if (policy == null)
PolicyNode tree = result.getPolicyTree();
Deque<PolicyNode> stack = new ArrayDeque<PolicyNode>();
stack.push(tree);
origin: org.apache.juddi/juddi-client

try {
    PKIXCertPathValidatorResult pkixResult = (PKIXCertPathValidatorResult) result;
    logger.info("revokation status via CRL PASSED for X509 public key " + signingcert.getSubjectDN().toString() + " " + pkixResult.toString());
} catch (Exception ex) {
    OutErrorMessage.set("Certificate status is via CRL Failed: " + ex.getMessage() + "." + OutErrorMessage.get());
    TrustAnchor ta = pkixResult.getTrustAnchor();
    X509Certificate cert = ta.getTrustedCert();
origin: ibinti/bugvm

return new PKIXCertPathValidatorResult(trust, intersection, cert.getPublicKey());
origin: com.bugvm/bugvm-rt

.getTrustAnchor(), result.getPolicyTree(), result
.getPublicKey());
origin: dogecoin/libdohj

  PublicKey publicKey = result.getPublicKey();
    throw new PaymentProtocolException.PkiVerificationException("Could not extract name from certificate");
  return new PkiVerificationData(displayName, publicKey, result.getTrustAnchor());
} catch (InvalidProtocolBufferException e) {
origin: stackoverflow.com

X500Principal root = result.getTrustAnchor().getTrustedCert().getSubjectX500Principal();
System.out.println("[Debug] Found root DN: "+root.getName());
String policy = policies.get(root);
PolicyNode tree = result.getPolicyTree();
if (tree == null)
  return false;
origin: com.madgag/scprov-jdk15on

return new PKIXCertPathValidatorResult(trust, intersection, cert.getPublicKey());
origin: com.madgag/scprov-jdk15on

.getTrustAnchor(), result.getPolicyTree(), result
.getPublicKey());
origin: cash.bitcoinj/bitcoinj-core

  PublicKey publicKey = result.getPublicKey();
    throw new PaymentProtocolException.PkiVerificationException("Could not extract name from certificate");
  return new PkiVerificationData(displayName, publicKey, result.getTrustAnchor());
} catch (InvalidProtocolBufferException e) {
origin: br.gov.frameworkdemoiselle.component/demoiselle-certificate-signer

TrustAnchor trustAnchor = pkixResult.getTrustAnchor();
X509Certificate cert = trustAnchor.getTrustedCert();
origin: com.bugvm/bugvm-rt

return new PKIXCertPathValidatorResult(trust, intersection, cert.getPublicKey());
origin: ibinti/bugvm

  /**
   * Returns a string representation of this {@code PKIXCertPathBuilderResult}
   * instance.
   *
   * @return a string representation of this {@code PKIXCertPathBuilderResult}
   *         instance.
   */
  public String toString() {
    StringBuilder sb = new StringBuilder(super.toString());
    sb.append("\n Certification Path: ");
    sb.append(certPath.toString());
    sb.append("\n]");
    return sb.toString();
  }
}
origin: com.madgag/scprov-jdk15on

.getTrustAnchor(), result.getPolicyTree(), result
.getPublicKey());
origin: greenaddress/GreenBits

  PublicKey publicKey = result.getPublicKey();
    throw new PaymentProtocolException.PkiVerificationException("Could not extract name from certificate");
  return new PkiVerificationData(displayName, publicKey, result.getTrustAnchor());
} catch (InvalidProtocolBufferException e) {
origin: org.igniterealtime.openfire/xmppserver

X509Certificate trustedCert = cpvResult.getTrustAnchor().getTrustedCert();
if(trustedCert == null) {
  throw new CertificateException("certificate path failed: Trusted CA is NULL");
origin: ripple-unmaintained/ripple-lib-java

return new PKIXCertPathValidatorResult(trust, intersection, cert.getPublicKey());
java.security.certPKIXCertPathValidatorResult

Javadoc

The implementation of the result of the PKIX certification path validation.

Most used methods

  • getTrustAnchor
    Returns the trust anchor describing the certification authority (CA) that served as trust anchor for
  • getPublicKey
    Returns the subject public key from the validation.
  • <init>
    Creates a new PKIXCertPathValidatorResult with the specified trust anchor, the valid policy tree and
  • getPolicyTree
    Returns the valid policy tree from the validation.
  • toString
    Returns a string representation for this PKIXCertPathValidatorResult instance.

Popular in Java

  • Running tasks concurrently on multiple threads
  • onRequestPermissionsResult (Fragment)
  • setScale (BigDecimal)
  • scheduleAtFixedRate (ScheduledExecutorService)
    Creates and executes a periodic action that becomes enabled first after the given initial delay, and
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Menu (java.awt)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • InputStream (java.io)
    A readable source of bytes.Most clients will use input streams that read data from the file system (
  • XPath (javax.xml.xpath)
    XPath provides access to the XPath evaluation environment and expressions. Evaluation of XPath Expr

For IntelliJ IDEA,
Android Studio or Eclipse

  • Search for JavaScript code betaCodota IntelliJ IDEA pluginCodota Android Studio pluginCode IndexSign in
  • EnterpriseFAQAboutBlogContact Us
  • Plugin user guideTerms of usePrivacy policyCodeboxFind Usages
Add Codota to your IDE (free)