Class Index | File Index

Classes


Class KJUR.asn1.cades.CAdESUtil

CAdES utilities class
Defined in: asn1cades-1.0.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
CAdES utiliteis class
Method Summary
Method Attributes Method Name and Description
<static>  
KJUR.asn1.cades.CAdESUtil.parseSignedDataForAddingUnsigned(hex)
parse CMS SignedData to add unsigned attributes This method will parse a hexadecimal string of ContentInfo with CMS SignedData to add a attribute to unsigned attributes field in a signerInfo field.
<static>  
KJUR.asn1.cades.CAdESUtil.parseSignerInfoForAddingUnsigned(hex)
parse SignerInfo to add unsigned attributes This method will parse a hexadecimal string of SignerInfo to add a attribute to unsigned attributes field in a signerInfo field.
Class Detail
KJUR.asn1.cades.CAdESUtil()
CAdES utiliteis class
Since:
jsrsasign 4.7.0 asn1cades 1.0.0
Method Detail
<static> {Object} KJUR.asn1.cades.CAdESUtil.parseSignedDataForAddingUnsigned(hex)
parse CMS SignedData to add unsigned attributes This method will parse a hexadecimal string of ContentInfo with CMS SignedData to add a attribute to unsigned attributes field in a signerInfo field. Parsed result will be an associative array which has following properties:
info = KJUR.asn1.cades.CAdESUtil.parseSignedDataForAddingUnsigned(beshex);
sd = info.obj;
Parameters:
{String} hex
hexadecimal string of ContentInfo of CMS SignedData
Returns:
{Object} associative array of parsed data

<static> {Object} KJUR.asn1.cades.CAdESUtil.parseSignerInfoForAddingUnsigned(hex)
parse SignerInfo to add unsigned attributes This method will parse a hexadecimal string of SignerInfo to add a attribute to unsigned attributes field in a signerInfo field. Parsed result will be an associative array which has following properties: NOTE: Parsing of unsigned attributes will be provided in the future version. That's way this version provides support for CAdES-T and not for CAdES-C.
Parameters:
{String} hex
hexadecimal string of SignerInfo
Returns:
{Object} associative array of parsed data

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