|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--cl.sii.dte.Semilla
Esta clase representa el objeto Semilla que devuelve el SII al momento de autenticarse de forma automatica.
| Field Summary | |
private String |
estado
|
private org.jdom.Element |
firma
|
private String |
semilla
|
String |
signedSeed
|
| Constructor Summary | |
Semilla()
Constructor de Semilla |
|
| Method Summary | |
org.jdom.Document |
genDocument(org.jdom.Namespace ns)
Method getDocument. |
org.jdom.Element |
getDOMElement(String tagName,
org.jdom.Namespace ns)
Method getDOMElement. |
String |
getEstado()
Method getEstado. |
org.jdom.Element |
getFirma()
Method getFirma. |
static void |
getNiceXML(org.jdom.Document doc,
OutputStream out)
Escribe el valor de la semilla en un OutputStream |
String |
getSemilla()
Method getSemilla. |
String |
rescataToken(String data)
Method rescataToken Descompone el string dado como parametro para sacar los valores del Token |
void |
setEstado(String estado)
Method setEstado. |
void |
setFirma(org.jdom.Element firma)
Method setFirma. |
void |
setSemilla(String semilla)
Method setSemilla. |
void |
setValores(String data)
Method setValores. |
void |
sign(PrivateKey pKey,
X509Certificate cert,
org.jdom.Namespace ns)
Método encargado de firmar la semilla |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private String estado
private String semilla
public String signedSeed
private org.jdom.Element firma
| Constructor Detail |
public Semilla()
| Method Detail |
public String rescataToken(String data)
throws SemillaException
data -
SemillaException
public void setValores(String data)
throws SemillaException
data -
SemillaExceptionpublic org.jdom.Element getFirma()
public void setFirma(org.jdom.Element firma)
firma - public String getEstado()
public void setEstado(String estado)
estado - public String getSemilla()
public void setSemilla(String semilla)
semilla -
public org.jdom.Element getDOMElement(String tagName,
org.jdom.Namespace ns)
tagName - ns -
public org.jdom.Document genDocument(org.jdom.Namespace ns)
throws InvalidKeyException,
SignatureException,
NoSuchAlgorithmException
TimbreException
InvalidKeyException
SignatureException
NoSuchAlgorithmException
CodigoException
public void sign(PrivateKey pKey,
X509Certificate cert,
org.jdom.Namespace ns)
throws org.jdom.JDOMException,
InvalidKeyException,
NoSuchAlgorithmException,
SignatureException,
org.apache.xml.security.exceptions.XMLSecurityException,
SQLException,
ParserConfigurationException,
IOException,
SAXException,
SemillaException
pKey - cert - ns -
org.jdom.JDOMException
InvalidKeyException
NoSuchAlgorithmException
SignatureException
org.apache.xml.security.exceptions.XMLSecurityException
SQLException
ParserConfigurationException
IOException
SAXException
SemillaException
public static void getNiceXML(org.jdom.Document doc,
OutputStream out)
throws SemillaException
doc - out -
SemillaException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||