diff options
Diffstat (limited to 'eaaf_core_utils/src')
-rw-r--r-- | eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/X509Utils.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/X509Utils.java b/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/X509Utils.java index e2fc4d1b..4d872ebe 100644 --- a/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/X509Utils.java +++ b/eaaf_core_utils/src/main/java/at/gv/egiz/eaaf/core/impl/utils/X509Utils.java @@ -1,12 +1,11 @@ package at.gv.egiz.eaaf.core.impl.utils; import java.security.cert.X509Certificate; +import java.util.Arrays; import java.util.List; import javax.security.auth.x500.X500Principal; -import org.springframework.util.CollectionUtils; - public class X509Utils { /** @@ -17,7 +16,7 @@ public class X509Utils { * @return sorted Certificate Chain */ public static List<X509Certificate> sortCertificates(X509Certificate[] certChain) { - return sortCertificates(CollectionUtils.arrayToList(certChain)); + return sortCertificates(Arrays.asList(certChain)); } |