1 2 3 4 5 6 7 8 9 10 11
package org.spongycastle.cert.path.validations; import org.spongycastle.cert.X509CertificateHolder; class ValidationUtils { static boolean isSelfIssued(X509CertificateHolder cert) { return cert.getSubject().equals(cert.getIssuer()); } }