|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--fi.hut.tcm.spki.format.CertData
CertData Contains different certificate formats. May hold sequences of certificates as well as single ones. When several formats coexist, changing one means that others should be dropped or recreated.
Field Summary | |
private java.util.Vector |
formats
|
Constructor Summary | |
CertData(Format first)
Always at least one format. |
Method Summary | |
void |
addFormat(Format addThis)
Adds new certificate formats. |
void |
addToSequence(SeqEnt entity)
Adds a new entity at the end of a sequence. |
CertDisplay |
getCertDisplay()
|
Comment |
getComment()
|
Deleg |
getDeleg()
|
Format |
getFormat(Format type)
Returns the format that is of the same type than the argument. |
java.security.PublicKey |
getIssuer()
|
java.net.URL[] |
getIssuerInfo()
|
java.lang.Object |
getSubject()
|
java.net.URL[] |
getSubjectInfo()
|
Tag |
getTag()
|
Validity |
getValidity()
|
int |
getVersion()
Returns the version number of the certificate type. |
boolean |
isSingleCert()
Tests if GenericFormat is single certificate instead of a sequence. |
boolean |
isValid()
|
java.util.Iterator |
iterator()
Returns an iterator of the sequence entities. |
void |
makeCanonicalSpki()
Makes Spki transfer representation. |
void |
parseCanonicalSpki()
Parses Spki transfer representation. |
void |
putCertDisplay(CertDisplay certDisplay)
|
void |
putComment(Comment comment)
|
void |
putDeleg(Deleg deleg)
|
void |
putIssuer(java.security.PublicKey issuer)
|
void |
putIssuerInfo(java.net.URL[] urls)
|
void |
putSubject(java.lang.Object subject)
|
void |
putSubjectInfo(java.net.URL[] urls)
|
void |
putTag(Tag tag)
|
void |
putValidity(Validity valid)
|
void |
reduceSequence()
Reduces a sequence to a single certificate. |
void |
removeFormat(Format type)
Removes the format that is of the same type than the argument. |
void |
removeSequenceEntity(SeqEnt removeThis)
Removes an entity from a sequence. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.util.Vector formats
Constructor Detail |
public CertData(Format first)
Method Detail |
public void addFormat(Format addThis)
public Format getFormat(Format type)
public void removeFormat(Format type) throws java.lang.IllegalArgumentException
public boolean isValid()
public void parseCanonicalSpki() throws java.lang.NoSuchFieldException, java.lang.IllegalArgumentException
public void makeCanonicalSpki() throws java.lang.NoSuchFieldException, java.lang.IllegalArgumentException
public boolean isSingleCert() throws java.lang.NoSuchMethodException
public void reduceSequence() throws java.lang.NoSuchMethodException
public void addToSequence(SeqEnt entity) throws java.lang.NoSuchMethodException
public java.util.Iterator iterator() throws java.lang.NoSuchMethodException
public void removeSequenceEntity(SeqEnt removeThis) throws java.lang.NoSuchFieldException, java.lang.NoSuchMethodException
public int getVersion()
public void putCertDisplay(CertDisplay certDisplay) throws java.lang.IllegalStateException, java.lang.NoSuchMethodException
public CertDisplay getCertDisplay() throws java.lang.IllegalStateException, java.lang.NoSuchMethodException
public void putIssuer(java.security.PublicKey issuer) throws java.lang.IllegalStateException, java.lang.NoSuchMethodException
public java.security.PublicKey getIssuer() throws java.lang.NoSuchFieldException, java.lang.NoSuchMethodException
public void putIssuerInfo(java.net.URL[] urls) throws java.lang.NoSuchFieldException, java.lang.NoSuchMethodException
public java.net.URL[] getIssuerInfo() throws java.lang.NoSuchFieldException, java.lang.NoSuchMethodException
public void putSubject(java.lang.Object subject) throws java.lang.IllegalStateException, java.lang.NoSuchMethodException
public java.lang.Object getSubject() throws java.lang.NoSuchFieldException, java.lang.NoSuchMethodException
public void putSubjectInfo(java.net.URL[] urls) throws java.lang.NoSuchFieldException, java.lang.NoSuchMethodException
public java.net.URL[] getSubjectInfo() throws java.lang.NoSuchFieldException, java.lang.NoSuchMethodException
public void putDeleg(Deleg deleg) throws java.lang.IllegalStateException, java.lang.NoSuchMethodException
public Deleg getDeleg() throws java.lang.NoSuchFieldException, java.lang.NoSuchMethodException
public void putValidity(Validity valid) throws java.lang.IllegalStateException, java.lang.NoSuchMethodException
public Validity getValidity() throws java.lang.NoSuchFieldException, java.lang.NoSuchMethodException
public void putTag(Tag tag) throws java.lang.IllegalStateException, java.lang.NoSuchMethodException
public Tag getTag() throws java.lang.NoSuchFieldException, java.lang.NoSuchMethodException
public void putComment(Comment comment) throws java.lang.IllegalStateException, java.lang.NoSuchMethodException
public Comment getComment() throws java.lang.NoSuchFieldException, java.lang.NoSuchMethodException
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |