|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectpalio.modules.core.Module
palio.modules.Cert
public final class Cert
Moduł pozwala na pobranie informacji o certyfikacie klienta.
Moduł jest dostępny w każdej instancji jPalio.
Field Summary |
---|
Fields inherited from interface palio.modules.core.CurrentModuleDataKeys |
---|
DESIGNER_ACTIONS_BUFFER, HTML_FORM_BUILDER, HTML_MAP_BUILDER, HTML_MENU_BUILDER, HTML_TOOLTIPS_BUFFER, ITEXT_DOCUMENT, MAIL_MESSAGE, XLS_DOCUMENT, XML_DOCUMENT |
Constructor Summary | |
---|---|
Cert(Instance instance,
java.util.Properties parameters)
|
Method Summary | |
---|---|
static byte[] |
getDerEncoded()
Gets the DER-encoded certificate information, the tbsCertificate from this certificate. |
static byte[] |
getEncoded()
Returns the encoded form of this certificate. |
static java.lang.String |
getEntityName()
Returns the subject name (subject distinguished name) value from the certificate as an X500Principal |
static java.util.Date |
getNotAfter()
Gets the notAfter date from the validity period of the certificate. |
static java.util.Date |
getNotBefore()
Gets the notBefore date from the validity period of the certificate. |
static java.lang.String |
getSerialNumber()
Gets the serialNumber value from the certificate. |
static byte[] |
getSignature()
Gets the signature value (the raw signature bits) from the certificate. |
java.lang.String |
getVersion()
Returns the module version |
static java.lang.Boolean |
isSupplied()
Check if the certificate is enabled. |
static java.lang.Boolean |
isValid()
Checks that the given date is within the certificate's validity period. |
static java.lang.Boolean |
isValid(java.util.Date date)
Checks that the given date is within the certificate's validity period. |
Methods inherited from class palio.modules.core.Module |
---|
getConfigParam, getDescription, getModuleTranslation |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Cert(Instance instance, java.util.Properties parameters)
Method Detail |
---|
public java.lang.String getVersion()
Module
getVersion
in class Module
public static byte[] getDerEncoded()
public static byte[] getEncoded()
public static byte[] getSignature()
public static java.lang.String getEntityName()
public static java.util.Date getNotAfter()
public static java.util.Date getNotBefore()
public static java.lang.Boolean isSupplied()
public static java.lang.String getSerialNumber()
public static java.lang.Boolean isValid()
public static java.lang.Boolean isValid(java.util.Date date)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |