|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.clearfield.security.ListCertificateEntry
public class ListCertificateEntry
This holds a certificate entry in the list. This matches a display alias entry to the certificate.
Copyright © 2006 Clearfield Ltd. This software is distributed under the BSD license. See the accompanying license.txt for details.
| Field Summary | |
|---|---|
protected java.lang.String |
alias
|
protected java.security.cert.Certificate |
certificate
|
| Constructor Summary | |
|---|---|
ListCertificateEntry()
Default constructor. |
|
ListCertificateEntry(java.security.cert.Certificate certificate)
Creates an entry given the specified certificate. |
|
ListCertificateEntry(java.lang.String alias,
java.security.cert.Certificate certificate)
Creates the entry given an alias and a certificate. |
|
| Method Summary | |
|---|---|
java.lang.String |
getAlias()
Returns the alias name of the entry. |
java.security.cert.Certificate |
getCertificate()
Returns the certificate in the entry. |
void |
setAlias(java.lang.String alias)
Sets the alias name of the entry. |
void |
setCertificate(java.security.cert.Certificate certificate)
Sets the certificate for the entry. |
java.lang.String |
toString()
Converts the entry to a string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected java.lang.String alias
protected java.security.cert.Certificate certificate
| Constructor Detail |
|---|
public ListCertificateEntry()
public ListCertificateEntry(java.lang.String alias,
java.security.cert.Certificate certificate)
alias - String name given to the certificate entry.certificate - Certificate for the entry.public ListCertificateEntry(java.security.cert.Certificate certificate)
certificate - Certificate for the entry.| Method Detail |
|---|
public java.security.cert.Certificate getCertificate()
public void setCertificate(java.security.cert.Certificate certificate)
certificate - The certificate to set.public java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getAlias()
public void setAlias(java.lang.String alias)
alias - The alias to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||