diff options
author | David Hook <dgh@cryptoworkshop.com> | 2013-11-30 09:56:19 +0400 |
---|---|---|
committer | David Hook <dgh@cryptoworkshop.com> | 2013-11-30 09:56:19 +0400 |
commit | b91ee8299f5932369c5aee4570aa5031c6bd5e27 (patch) | |
tree | 17b70a064c6dc5aafef293fb9e85ee267d1de8d5 /pkix/src | |
parent | 90197854640cd4b47b254b2ef0e66a7c6f167aca (diff) |
initial version
Diffstat (limited to 'pkix/src')
-rw-r--r-- | pkix/src/main/java/org/bouncycastle/cert/path/validations/ValidationUtils.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/pkix/src/main/java/org/bouncycastle/cert/path/validations/ValidationUtils.java b/pkix/src/main/java/org/bouncycastle/cert/path/validations/ValidationUtils.java new file mode 100644 index 00000000..2a587065 --- /dev/null +++ b/pkix/src/main/java/org/bouncycastle/cert/path/validations/ValidationUtils.java @@ -0,0 +1,11 @@ +package org.bouncycastle.cert.path.validations; + +import org.bouncycastle.cert.X509CertificateHolder; + +class ValidationUtils +{ + static boolean isSelfIssued(X509CertificateHolder cert) + { + return cert.getSubject().equals(cert.getIssuer()); + } +} |