|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--pandora.LinkBean
Bean used by link.jsp (referrer implementation).
alexis.grandemange@pagebox.net
Copyright (c) 2002-2003 Alexis Grandemange
This program is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; version 2.1 of the License. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. A copy of the GNU Lesser General Public License lesser.txt should be included in the distribution.
Field Summary | |
private byte[] |
encodedCert
Certificate |
private java.lang.String |
msg
Error message |
private java.lang.String |
name
Name to encrypt |
private java.security.PrivateKey |
priv
Private key |
Constructor Summary | |
LinkBean(java.lang.String ksName,
java.lang.String ksPasswd,
java.lang.String alias,
java.lang.String keyPasswd)
Constructor. |
Method Summary | |
java.lang.String |
getCert()
Returns the certificate to use to decrypt. |
java.lang.String |
getMessage()
Returns error messages. |
java.lang.String |
getSignature()
Returns the signature of name. |
void |
setName(java.lang.String name)
Set the name to encrypt. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private java.lang.String name
private java.security.PrivateKey priv
private byte[] encodedCert
private java.lang.String msg
Constructor Detail |
public LinkBean(java.lang.String ksName, java.lang.String ksPasswd, java.lang.String alias, java.lang.String keyPasswd)
ksName
- key store pathksPasswd
- key store passwordalias
- name of the certificate in the keystorekeyPasswd
- password of the private key in the keystoreMethod Detail |
public void setName(java.lang.String name)
name
- user name and charging infopublic java.lang.String getCert()
public java.lang.String getSignature()
public java.lang.String getMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |