1 security.wic.certificates.sign
<security.wic.certificates.sign
code='code'
algorithm='algorithm'
hash-size='hash-size'
>
<fecha /> *
<message /> *
</security.wic.certificates.sign>
Attributes | |||||
---|---|---|---|---|---|
Name | Type | Required | Default | Description | |
Acode | string | Indicate the code of certificate. | |||
Aalgorithm | string | Algorithm of generation (RSA, DSA...). In this document are detailed all the types. | |||
Ahash-size | integer | Indicate the lenght of the hash which you should generate. |
Arguments | |||||
---|---|---|---|---|---|
Name | Type | Required | Unique | Nullable | Description |
Efecha | Date | ||||
Emessage | String |
Returns | |
---|---|
Type | Description |
String | The hash of the certification. |
Example
Generate a hash for a private key and a public one from a message.
Copy
<xsql-script name='push_test'> <body> <println> <security.wic.certificates.sign algorithm='SHA1withRSA' hash-size='172' code='CERT1'> <date>11-03-2012</date> <string>2010-03-11;2010-03-11T11:27:08;FAC 001/9;1200.00;mYJEv4iGwLcnQbRD7dPs2uD1mX08XjXIKcGg3GEHmwMhmmGYusffIJjTdSITLX+uujTwzqmL/U5nvt6S9s8ijN3LwkJXsiEpt099e1MET/8y3+Y1bN+K+YPJQiVmlQS0fXETsOPo8SwUZdBALt0vTo1VhUZKejACcjEYJG6nI=</string> </security.wic.certificates.sign> </println> </body> </xsql-script>