Class Index | File Index

Classes


Namespace KJUR.crypto


Defined in: crypto-1.1.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
kjur's cryptographic algorithm provider library name space

This namespace privides following crytpgrahic classes.

Method Summary
Method Attributes Method Name and Description
<static>  
KJUR.crypto.digest()
<static>  
KJUR.crypto.digestHex(hex)
<static>  
KJUR.crypto.digestString(str)
<static>  
KJUR.crypto.doFinal()
<static>  
KJUR.crypto.doFinalHex(hex)
<static>  
KJUR.crypto.doFinalString(str)
<static>  
KJUR.crypto.init(keyparam, pass)
<static>  
KJUR.crypto.parseSig(sig)
Parses a byte array containing a DER-encoded signature.
<static>  
KJUR.crypto.serializeSig(r, s)
Serialize a signature into DER format.
<static>  
KJUR.crypto.setAlgAndProvider(alg, prov)
<static>  
KJUR.crypto.sign()
<static>  
KJUR.crypto.signHex(hex)
<static>  
KJUR.crypto.signString(str)
<static>  
KJUR.crypto.updateHex(hex)
<static>  
KJUR.crypto.updateString(str)
<static>  
KJUR.crypto.verify(hSigVal)
Namespace Detail
KJUR.crypto
kjur's cryptographic algorithm provider library name space

This namespace privides following crytpgrahic classes.

NOTE: Please ignore method summary and document of this namespace. This caused by a bug of jsdoc2.

Method Detail
<static> KJUR.crypto.digest()

<static> KJUR.crypto.digestHex(hex)
Parameters:
hex

<static> KJUR.crypto.digestString(str)
Parameters:
str

<static> KJUR.crypto.doFinal()

<static> KJUR.crypto.doFinalHex(hex)
Parameters:
hex

<static> KJUR.crypto.doFinalString(str)
Parameters:
str

<static> KJUR.crypto.init(keyparam, pass)
Parameters:
keyparam
pass

<static> KJUR.crypto.parseSig(sig)
Parses a byte array containing a DER-encoded signature. This function will return an object of the form: { r: BigInteger, s: BigInteger }
Defined in: ecdsa-modified-1.0.js.
Parameters:
sig

<static> KJUR.crypto.serializeSig(r, s)
Serialize a signature into DER format. Takes two BigIntegers representing r and s and returns a byte array.
Defined in: ecdsa-modified-1.0.js.
Parameters:
r
s

<static> KJUR.crypto.setAlgAndProvider(alg, prov)
Parameters:
alg
prov

<static> KJUR.crypto.sign()

<static> KJUR.crypto.signHex(hex)
Parameters:
hex

<static> KJUR.crypto.signString(str)
Parameters:
str

<static> KJUR.crypto.updateHex(hex)
Parameters:
hex

<static> KJUR.crypto.updateString(str)
Parameters:
str

<static> KJUR.crypto.verify(hSigVal)
Parameters:
hSigVal

© 2012-2023 Kenji Urushima, All rights reserved
Documentation generated by JsDoc Toolkit 2.4.0