PFX
Represents the PFX structure described in RFC7292
Extends
Implements
Constructors
new PFX()
new PFX(
parameters
):PFX
Initializes a new instance of the PFX class
Parameters
• parameters: PFXParameters
= {}
Initialization parameters
Returns
Overrides
Properties
authSafe
authSafe:
ContentInfo
Implementation of
macData?
optional
macData:MacData
Implementation of
parsedValue?
optional
parsedValue:PFXParsedValue
Implementation of
version
version:
number
Implementation of
CLASS_NAME
static
CLASS_NAME:string
="PFX"
Name of the class
Overrides
Accessors
className
get
className():string
Returns
string
Inherited from
Methods
fromSchema()
fromSchema(
schema
):void
Converts parsed ASN.1 object into current class
Parameters
• schema: any
ASN.1 schema
Returns
void
Overrides
makeInternalValues()
makeInternalValues(
parameters
,crypto
):Promise
<void
>
Making ContentInfo from PARSED_VALUE object
Parameters
• parameters: MakeInternalValuesParams
= {}
Parameters, specific to each "integrity mode"
• crypto: ICryptoEngine
= ...
Crypto engine
Returns
Promise
<void
>
parseInternalValues()
parseInternalValues(
parameters
,crypto
):Promise
<void
>
Parameters
• parameters
• parameters.checkIntegrity?: boolean
• parameters.password?: ArrayBuffer
• crypto: ICryptoEngine
= ...
Returns
Promise
<void
>
toJSON()
toJSON():
PFXJson
Converts the class to JSON object
Returns
JSON object
Overrides
toSchema()
toSchema():
Sequence
Converts current object to ASN.1 object and sets correct values
Returns
Sequence
ASN.1 object