/** * @return true if the certificate's SubjectDN matches the constraints defined in the * subject DNConstraints and the certificate's IssuerDN matches the issuer * DNConstraints; false, otherwise */ public boolean matches( final java.security.cert.X509Certificate cert ) { return this.subjectDNConstraints.matches(cert.getSubjectX500Principal()) && this.issuerDNConstraints.matches(cert.getIssuerX500Principal()); } }
/** * @return true if the certificate's SubjectDN matches the constraints defined in the * subject DNConstraints and the certificate's IssuerDN matches the issuer * DNConstraints; false, otherwise */ public boolean matches( final java.security.cert.X509Certificate cert ) { return this.subjectDNConstraints.matches(cert.getSubjectX500Principal()) && this.issuerDNConstraints.matches(cert.getIssuerX500Principal()); } }
/** * @return true if the certificate's SubjectDN matches the constraints defined in the * subject DNConstraints and the certificate's IssuerDN matches the issuer * DNConstraints; false, otherwise */ public boolean matches( final java.security.cert.X509Certificate cert ) { return this.subjectDNConstraints.matches(cert.getSubjectX500Principal()) && this.issuerDNConstraints.matches(cert.getIssuerX500Principal()); } }