Class SecurityEnvironment
Class implementing a security environment for cryptographic operations.
Defined in: SecurityEnvironment.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Creates a security environment container that collects cryptographic reference templates (CRT)
|
Method Attributes | Method Name and Description |
---|---|
add(tlv)
Adds a CRT identified by it's tag
|
|
addElements(tname, tlv)
Adds CRT elements to a named template.
|
|
<static> |
SecurityEnvironment.decorateCRT(asn1)
Decorates a tlv object from the CRT
|
toString()
Return textual representation of security environment container
|
Class Detail
SecurityEnvironment()
Creates a security environment container that collects cryptographic reference templates (CRT)
Method Detail
add(tlv)
Adds a CRT identified by it's tag
- Parameters:
- {ASN1} tlv
- the tlv object
addElements(tname, tlv)
Adds CRT elements to a named template.
- Parameters:
- {String} tname
- the CRT name one of AT, KAT, HT, CCT, DST or CT
- {ASN1} tlv
- the tlv object containing the CRT elements
<static>
SecurityEnvironment.decorateCRT(asn1)
Decorates a tlv object from the CRT
- Parameters:
- asn1
toString()
Return textual representation of security environment container