fi.hut.tcm.spki.impl
Class Subject

java.lang.Object
  |
  +--fi.hut.tcm.spki.impl.Composite
        |
        +--fi.hut.tcm.spki.impl.Subject

public class Subject
extends Composite

Subject The information about certificate subject or subjects. Contains one instance of a class Name, Key, Keyholder, ThresholdSubj OR ObjHash.


Fields inherited from class fi.hut.tcm.spki.impl.Composite
children
 
Constructor Summary
Subject()
           
Subject(byte[] objectbytes)
          Makes an obj-hash subject of the objectbytes.
Subject(byte[] objectbytes, java.lang.String hashUri)
          Makes an obj-hash subject of the objectbytes.
Subject(java.security.PublicKey key)
           
 
Method Summary
 void accept(Visitor visitor)
           
 boolean check(Component addition)
           
 java.lang.String toString()
           
 
Methods inherited from class fi.hut.tcm.spki.impl.Composite
add, get, get, iterator, remove, size
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, wait, wait, wait
 

Constructor Detail

Subject

public Subject()

Subject

public Subject(java.security.PublicKey key)

Subject

public Subject(byte[] objectbytes)
Makes an obj-hash subject of the objectbytes.

Subject

public Subject(byte[] objectbytes,
               java.lang.String hashUri)
Makes an obj-hash subject of the objectbytes.
Method Detail

check

public boolean check(Component addition)
              throws java.lang.IllegalStateException
Overrides:
check in class Composite

accept

public void accept(Visitor visitor)
Overrides:
accept in class Composite

toString

public java.lang.String toString()
Overrides:
toString in class Composite