com.ehsbe.commons.util
Class NetscapeCertHelper
java.lang.Object
com.ehsbe.commons.util.NetscapeCertHelper
public class NetscapeCertHelper
- extends Object
Helper to extract Netscape Certificate Types. See
.
- Version:
- $Revision: 497 $
- Author:
- Jens Elkner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NetscapeCertHelper
public NetscapeCertHelper()
getNetscapeExtensions
public static String[] getNetscapeExtensions(X509Certificate cert)
- Get the NetscapeCertType-Extension Names (OID: 2.16.840.1.113730.1.1)
for the given certificate.
- Parameters:
cert
- certificate, where to obtain the extension
- Returns:
- a (possible empty) array of certificate purposes
Copyright ©2005-2009 EHSBE, Walther-Rathenau-Str. 58, 39104 Magdeburg, Sachsen-Anhalt, Germany. All Rights Reserved.