|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--moses.security.LGICert
This class is the LGI own implementation of a digital certificate. A certificate, as used in LGI represents an object binding together the following elements:
| Constructor Summary | |
LGICert(java.security.PublicKey issuer,
java.security.PublicKey subject,
java.lang.String attributes,
byte[] signature)
LGI certificate constructor. |
|
LGICert(java.security.PublicKey issuer,
java.security.PublicKey subject,
java.lang.String attributes,
java.security.PrivateKey issuerPriv)
LGI certificate constructor. |
|
| Method Summary | |
java.lang.String |
getAttributes()
Getter method. |
java.security.PublicKey |
getIssuer()
Getter method. |
byte[] |
getSignature()
Getter method. |
java.security.PublicKey |
getSubject()
Getter method. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public LGICert(java.security.PublicKey issuer,
java.security.PublicKey subject,
java.lang.String attributes,
byte[] signature)
issuer - represents the public key of the certifying authority issuing this certificate.subject - represents the public key of the subject of this certificate.attributes - specifies an arbitrary string that represents the properties of the subject, as asserted by the issuer.signature - represents the signature issued by the certifying authority binding the previous arguments together.
public LGICert(java.security.PublicKey issuer,
java.security.PublicKey subject,
java.lang.String attributes,
java.security.PrivateKey issuerPriv)
issuer - represents the public key of the certifying authority issuing this certificate.subject - represents the public key of the subject of this certificate.attributes - specifies an arbitrary string that represents the properties of the subject, as asserted by the issuer.issuerPriv - represents the private key of the issuer used to generate the signature of the certifying authority binding the previous arguments together.| Method Detail |
public java.security.PublicKey getIssuer()
public java.security.PublicKey getSubject()
public java.lang.String getAttributes()
public byte[] getSignature()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||