spki
Class RelativeName
java.lang.Object
|
+--spki.BaseObj
|
+--spki.Name
|
+--spki.RelativeName
- public class RelativeName
- extends Name
- implements SubjCapabilityObj, SubjNameObj, SubjAttributeObj
SPKI RelativeName class.
Formal definitions:
<relative-name>:: "(" "name" <byte-string> ")" ;
- Version:
- $Id: RelativeName.java,v 1.9 2002/05/06 07:06:05 tep Exp $
- Author:
- Tep Narula <tep@win.trlabs.ca>
|
Field Summary |
private static String |
__ME
This class's full name. |
| Methods inherited from class spki.Name |
addName,
addName,
addName,
getInstance,
getName,
getNameDepth,
getPrincipal,
isFQName,
isLocalName,
isRelativeName,
setPrincipal,
toSExpression,
verify |
| Methods inherited from class spki.BaseObj |
disableSExpressionCaching,
enableSExpressionCaching,
extractHashAlgId,
getCachedSExpression,
isLocked,
isSListOfType,
lock,
providerToSPKI,
setCachedSExpression,
spkiToProvider,
toString |
| Methods inherited from class java.lang.Object |
,
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
__ME
private static final String __ME
- This class's full name.
RelativeName
protected RelativeName()
- Don't use me!
- See Also:
RelativeName(String),
RelativeName(byte[])
RelativeName
public RelativeName(SExpression sexp)
throws SPKIException,
ParseException
- Create an immutable RelativeName object from an S-Expression.
- See Also:
Name.Name(SExpression)
RelativeName
public RelativeName(String name)
throws SPKIException
- Create an immutable RelativeName from a name String.
- Parameters:
name - the name String.- Throws:
- SPKIException - if something went wrong.
RelativeName
public RelativeName(byte[] name)
throws SPKIException
- Create an immutable RelativeName from a name byte-array.
- Parameters:
name - the name byte-array.- Throws:
- SPKIException - if something went wrong.
getName
public Sexp getName()
throws SPKIException
- Get the name.
- Returns:
- A copy of the name Sexp object.