Script: Class dw.crypto.CertificateRef

Class CertificateRef

  • Object
    • dw.crypto.CertificateRef

This class is used as a reference to a certificate in the keystore which can be managed in the Business Manager.

Note: this class handles sensitive security-related data. Pay special attention to PCI DSS v3. requirements 2, 4, and 12.

Constructor Summary

CertificateRef(alias : String)

Creates a CertificateRef from the passed alias.

Method Summary

toString() : String

Returns the string representation of this CertificateRef.

Methods inherited from class Object

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Constructor Detail

CertificateRef

publicCertificateRef(alias : String)

Creates a CertificateRef from the passed alias. No check is made whether the alias is actually referring to a certificate in the keystore, this check is made when the CertificateRef is used.

Parameters:

alias - an alias that should refer to a certificate in the keystore.


Method Detail

toString

toString() : String

Returns the string representation of this CertificateRef.

Returns:

The string representation of this CertificateRef.