|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.aol.acc.AccBase
com.aol.acc.AccCertificate
public class AccCertificate
The IAccCertificate interface is used to wrap X.509 certificate objects.
| Method Summary | |
|---|---|
AccVariant |
getChain(boolean wantRoot)
Get this cert's cert chain, optionally including the root cert, as a list of IAccCertificates. |
java.util.Date |
getExpireTime()
The time the certificate expires |
java.lang.String |
getIssuerCommonName()
The issuer name |
java.lang.String |
getIssuerDomainComponent()
The issuer domain component |
java.lang.String |
getIssuerOrg()
The issuer organization |
java.lang.String |
getIssuerOrgUnit()
The issuer organizational unit |
java.util.Date |
getIssueTime()
The time the certificate was issued |
java.lang.String |
getName()
The friendly name for the certificate |
java.lang.String |
getSerialNumber()
The serial number of the certificate |
java.lang.String |
getSubjectCommonName()
The subject name for the certificate (CN) |
java.lang.String |
getSubjectDomainComponent()
The domain component for the certificate (DC) |
java.lang.String |
getSubjectEmailAddress()
The email address for the certificate |
java.lang.String |
getSubjectOrg()
The organization name for the certificate (O) |
java.lang.String |
getSubjectOrgUnit()
The organizational unit for the certificate (OU) |
int |
getTrusted()
The categories in which this certificate has been trusted; values are from AccCertificateTrustFlags |
int |
getUsage()
The certificate usage type; values are from AccCertificateUsage. |
void |
trust(int trustFlags,
boolean permanent)
Explicitly trust this cert for the specified categories, either for the current session or permanently. |
void |
verify(int usage)
Verifies that the certificate is valid at the current time, for the specified usages. |
| Methods inherited from class com.aol.acc.AccBase |
|---|
compareHandle, equals |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public AccVariant getChain(boolean wantRoot)
throws AccException
AccException
public void verify(int usage)
throws AccException
AccException
public void trust(int trustFlags,
boolean permanent)
throws AccException
AccException
public java.lang.String getName()
throws AccException
AccException
public java.lang.String getSerialNumber()
throws AccException
AccException
public java.util.Date getIssueTime()
throws AccException
AccException
public java.util.Date getExpireTime()
throws AccException
AccException
public int getUsage()
throws AccException
AccException
public java.lang.String getSubjectCommonName()
throws AccException
AccException
public java.lang.String getSubjectOrg()
throws AccException
AccException
public java.lang.String getSubjectOrgUnit()
throws AccException
AccException
public java.lang.String getSubjectDomainComponent()
throws AccException
AccException
public java.lang.String getSubjectEmailAddress()
throws AccException
AccException
public java.lang.String getIssuerCommonName()
throws AccException
AccException
public java.lang.String getIssuerOrg()
throws AccException
AccException
public java.lang.String getIssuerOrgUnit()
throws AccException
AccException
public java.lang.String getIssuerDomainComponent()
throws AccException
AccException
public int getTrusted()
throws AccException
AccException
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||