version-1.30
Last change
on this file since 4adc697 was
8780cbec,
checked in by Jay Jacobs <Jay.Jacobs@…>, 15 years ago
|
ABAC sources from Cobham
|
-
Property mode set to
100644
|
File size:
764 bytes
|
Rev | Line | |
---|
[8780cbec] | 1 | /* |
---|
| 2 | * Credential.java |
---|
| 3 | */ |
---|
| 4 | |
---|
| 5 | package edu.stanford.peer.rbtm.credential; |
---|
| 6 | |
---|
| 7 | /** |
---|
| 8 | * Credential is the top level class for credentials in RBTM framework. It is |
---|
| 9 | * an abstract class, and has two direct sub-classes: StaticCredential and |
---|
| 10 | * DynamicCredential. |
---|
| 11 | */ |
---|
| 12 | public abstract class Credential implements java.io.Serializable |
---|
| 13 | // extends java.security.cert.Certificate |
---|
| 14 | { |
---|
| 15 | /** |
---|
| 16 | * Constructor for Role-Based Trust Management certificates. |
---|
| 17 | protected Credential() { |
---|
| 18 | super("RBTM"); |
---|
| 19 | } |
---|
| 20 | */ |
---|
| 21 | |
---|
| 22 | /** |
---|
| 23 | * Get the issuer of this credential. |
---|
| 24 | */ |
---|
| 25 | public abstract Entity getIssuer(); |
---|
| 26 | |
---|
| 27 | /** converts the credential into an XML formatted string */ |
---|
| 28 | public abstract String toXML(); |
---|
| 29 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.