ehsbe CommonsTM
Version 1.1.0rc3

com.ehsbe.commons.util
Class NetscapeCertHelper

java.lang.Object
  extended by com.ehsbe.commons.util.NetscapeCertHelper

public class NetscapeCertHelper
extends Object

Helper to extract Netscape Certificate Types. See .

Version:
$Revision: 497 $
Author:
Jens Elkner

Constructor Summary
NetscapeCertHelper()
           
 
Method Summary
static String[] getNetscapeExtensions(X509Certificate cert)
          Get the NetscapeCertType-Extension Names (OID: 2.16.840.1.113730.1.1) for the given certificate.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NetscapeCertHelper

public NetscapeCertHelper()
Method Detail

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

ehsbe CommonsTM
Version 1.1.0rc3

Copyright ©2005-2009 EHSBE, Walther-Rathenau-Str. 58, 39104 Magdeburg, Sachsen-Anhalt, Germany. All Rights Reserved.