All Packages Class Hierarchy This Package Previous Next Index
Class semper.download.Credentials
java.lang.Object
|
+----semper.download.Credentials
- public class Credentials
- extends Object
- implements Serializable
The crdential module defines all the data types and the associated
methods in order to store and to manipulate credentials.
- Version:
- $Revision: 1.1 $ $Date: 1998/01/14 11:15:49 $
- Author:
- Petros Pantis, Kostas Tzelepis
-
Credentials(Certificate, String, String, byte[], long)
- Credentials object constuctor
-
getCertificate()
- Retieves the associated to the credentials certificate
-
getCredential()
- Returns the contained credential string object
-
getCredentialBytes()
- Returns the contained credential string object
-
getSign()
- Retieves the credential signature
-
getSN()
- Retieves the sequence number of the credentials
-
toText()
- Method used only for debugging reasons
Credentials
public Credentials(Certificate c,
String cred,
String name,
byte sign[],
long l)
- Credentials object constuctor
- Parameters:
- c - user's certificate (mobile code issuer's certificate)
- cred - the associated, to the above certificate, credential String object
- name - credential server's domain name
- sign - the credentials signature
- l - the credentials sequence number
getSign
public byte[] getSign()
- Retieves the credential signature
- Returns:
- value returns the credentials server's signature
getCredentialBytes
public byte[] getCredentialBytes()
- Returns the contained credential string object
- Returns:
- value the credential string object in form of an byte array
getCredential
public String getCredential()
- Returns the contained credential string object
- Returns:
- value the credential string object
getCertificate
public Certificate getCertificate()
- Retieves the associated to the credentials certificate
- Returns:
- value the code issuer's certificate
getSN
public long getSN()
- Retieves the sequence number of the credentials
- Returns:
- value credential's sequence number
toText
public String toText()
- Method used only for debugging reasons
All Packages Class Hierarchy This Package Previous Next Index