Examples of CnConstraintCertValidator


Examples of com.google.step2.xmlsimplesign.CnConstraintCertValidator

    }

    @Provides
    @Singleton
    public CertValidator provideCertValidator(DefaultCertValidator defaultValidator) {
        CertValidator hardCodedValidator = new CnConstraintCertValidator() {
            @Override
            protected String getRequiredCn(String authority) {
                // Trust Google for signing discovery documents
                return "hosted-id.google.com";
            }
View Full Code Here

Examples of com.google.step2.xmlsimplesign.CnConstraintCertValidator

  // we're using a cert validator that will validate certs either if they
  // belong to the expected signer of the XRD, or if they're signed
  // by Google.
  @Provides @Singleton
  public CertValidator provideCertValidator(DefaultCertValidator defaultValidator) {
    CertValidator hardCodedValidator = new CnConstraintCertValidator() {
      @Override
      protected String getRequiredCn(String authority) {
        return "hosted-id.google.com";
      }
    };
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.