WARNING: This server provides a static reference view of the NetKernel documentation. Links to dynamic content do not work. For the best experience we recommend you install NetKernel and view the documentation in the live system .

Endpoint
Name:PKISign
Description:Sign binary stream with a private key
Id:PKISign
Category:accessor
Identifier Syntax

PKISign is an accessor using Active URI syntax with the following base identifiers:

Base
active:pkiSign

and the following arguments: (for more details on argument passing details see here)

ArgumentRulesTypingDescription
operand
Mandatory
Representation (java.lang.Object)resource to sign
keystore
Mandatory
Representation (java.lang.Object)JKS Keystore
keystorePassword
Mandatory
Representation (java.lang.Object)password for keystore
keyID
Mandatory
Representation (java.lang.Object)Id of key in keystore
keyPassword
Optional
Representation (java.lang.Object)password for key
Request Verbs

The following verb is supported:

Verb
SOURCE
Response

The response representation of this accessor for SOURCE requests is unknown.

This accessor throws no documented exceptions.

Import Requirements

To use PKISign accessor you must import the module urn:org:netkernel:mod:security:

<import>
  <uri>urn:org:netkernel:mod:security</uri>
</import>

Generates the signature of the operand resource which is SOURCEd as an IReadableBinaryStreamRepresentation.

Returns hexadecimal string representation of the signature.

Compatibility

This tool uses a 256-bit buffer to stream the operand resource - it will therefore generate a signature including padding with zero's for any operand that exceeds the 256 modulo.

This tool is provided for compatibility with older services. We recommend that you use the standard unpadded RSASHA1 signature available with the active:pkiSignStandard tool.

PKI Details

see active:pkiSignStandard