|
Oracle Application Server Certificate Authority Java API Reference 10g (10.1.4.0.1) B15990-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.oca.policy.OCAPolicyRequest
OCAPolicyRequest contains the attributes which can be read/configured by policy plug-ins. For each request, OCA's policy processor constructs OCAPolicyRequest. Once OCAPolicyRequest is constructed, it is sent as an input parameter to all the custom plug-ins. Plug-ins can use the API's to get or set values.
OCAX509Certificate
, OCMPolicyConstants
Method Summary | |
java.lang.String |
getAuthType() Gets the authentication type. |
java.util.Date |
getCACertExpiryDate() Gets the CA Certificate's expiry date. |
java.util.Date |
getCACertIssuanceDate() Gets the CA certificate's issuance date. |
java.lang.String |
getCACertIssuerName() Gets the Issuer's DN of the CA Certificate. |
java.lang.String |
getCACertSubjectName() Gets the DN of the CA Certificate. |
java.math.BigInteger |
getCAPathLength() Gets the Path length of the CA Certificate. |
java.lang.String |
getCertType() Gets the Type of the certificate. |
java.lang.String |
getCertUsage() Gets the Certificate Usage of the certificate / certificate request. |
java.lang.String |
getCommonName() Gets the Common Name set in the DN. |
java.lang.String |
getCountry() Gets the Country set in the DN. |
java.lang.String |
getDistinguishedName() Gets the Distinguished Name associated with the request. |
java.lang.String |
getEMail() Gets the EMail set in the DN. |
java.lang.String |
getKeyAlgorithm() Gets the Key Algorithm assoicated with the request. |
int |
getKeySize() Gets the Key Size associated with the request. |
java.lang.String |
getLocality() Gets the Locality set in the DN. |
java.util.Date |
getNotAfterDate() Gets the not after date associated with the user certificate for Renewal and Revocation request. |
java.util.Date |
getNotBeforeDate() Gets the Not before date associated with the user certificate for Renewal and Revocation request. |
java.lang.String |
getOrganization() Gets the Organization set in the DN. |
java.lang.String |
getOrganizationalUnit() Gets the Organizational Unit set in the DN. |
java.lang.String |
getRequestOperation() Gets the Certificate Operation. |
java.lang.String |
getState() Gets the State set in the DN. |
OCAX509Certificate[] |
getTrustPoints() Gets the trust points of the CA. |
int |
getValidityPeriod() Gets the validity period for the request. |
void |
setError(java.lang.String pluginName, java.lang.String errorType, java.lang.String errorMessage) Set Plug-in name, error type and error message. |
void |
setError(java.lang.String pluginName, java.lang.String errorType, java.lang.String errorMessage, java.lang.Object[] params) Set Plug-in name, error type and error message. |
void |
setPluginResult(java.lang.String pluginName, java.lang.Boolean status) Sets the result of the plugin. |
void |
setValidityPeriod(int valPeriod) Sets the validity period for the request. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public java.lang.String getRequestOperation()
OCMPolicyConstants.CERT_OP_ENROLLMENT
, OCMPolicyConstants.CERT_OP_RENEWAL
, OCMPolicyConstants.CERT_OP_REVOCATION
public java.util.Date getCACertExpiryDate()
public java.util.Date getCACertIssuanceDate()
public java.lang.String getCACertIssuerName()
public java.lang.String getCACertSubjectName()
public java.math.BigInteger getCAPathLength()
public java.lang.String getCertType()
OCMPolicyConstants.CERT_TYPE_CLIENT
, OCMPolicyConstants.CERT_TYPE_SERVER
, OCMPolicyConstants.CERT_TYPE_CA
public java.lang.String getCertUsage()
OCMPolicyConstants.CERT_USAGE_CA_SIGN
, OCMPolicyConstants.CERT_USAGE_SMIME_SIGN
, OCMPolicyConstants.CERT_USAGE_SMIME_ENC
, OCMPolicyConstants.CERT_USAGE_CODE_SIGN
, OCMPolicyConstants.CERT_USAGE_SSL
public void setError(java.lang.String pluginName, java.lang.String errorType, java.lang.String errorMessage) throws oracle.security.oca.exception.OCMException
pluginName
- Plug-in Name.errorType
- Error Type.errorMessage
- Error Message string.oracle.security.oca.exception.OCMException
OCMPolicyConstants.POLICY_ERROR
, OCMPolicyConstants.POLICY_WARNING
public void setError(java.lang.String pluginName, java.lang.String errorType, java.lang.String errorMessage, java.lang.Object[] params) throws oracle.security.oca.exception.OCMException
pluginName
- Plug-in Name.errorType
- Error Type.errorMessage
- Error Message string.params
- The list of paramters for the stringoracle.security.oca.exception.OCMException
OCMPolicyConstants.POLICY_ERROR
, OCMPolicyConstants.POLICY_WARNING
public void setPluginResult(java.lang.String pluginName, java.lang.Boolean status)
public java.lang.String getDistinguishedName()
public java.lang.String getKeyAlgorithm()
OCMPolicyConstants.RSA_KEY_ALGO
public java.util.Date getNotAfterDate()
public java.util.Date getNotBeforeDate()
public int getKeySize()
public java.lang.String getAuthType()
OCMPolicyConstants.AUTH_TYPE_MANUAL
, OCMPolicyConstants.AUTH_TYPE_SSO
, OCMPolicyConstants.AUTH_TYPE_SSL
public void setValidityPeriod(int valPeriod) throws java.lang.Exception
Exception,
- If the validity period is outside the CA's validity.java.lang.Exception
public int getValidityPeriod()
public java.lang.String getCommonName()
public java.lang.String getCountry()
public java.lang.String getEMail()
public java.lang.String getOrganization()
public java.lang.String getOrganizationalUnit()
public java.lang.String getState()
public java.lang.String getLocality()
public OCAX509Certificate[] getTrustPoints()
OCAX509Certificate
|
Oracle Application Server Certificate Authority Java API Reference 10g (10.1.4.0.1) B15990-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |