Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/pkix/src
diff options
context:
space:
mode:
authorDavid Hook <dgh@cryptoworkshop.com>2013-11-30 09:56:19 +0400
committerDavid Hook <dgh@cryptoworkshop.com>2013-11-30 09:56:19 +0400
commitb91ee8299f5932369c5aee4570aa5031c6bd5e27 (patch)
tree17b70a064c6dc5aafef293fb9e85ee267d1de8d5 /pkix/src
parent90197854640cd4b47b254b2ef0e66a7c6f167aca (diff)
initial version
Diffstat (limited to 'pkix/src')
-rw-r--r--pkix/src/main/java/org/bouncycastle/cert/path/validations/ValidationUtils.java11
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());
+ }
+}