SetaPDF_Signer_Asn1_DistinguishedName Helper class to convert a DistinguishedName ASN.1 struncture into a string.
File: /SetaPDF v2/Signer/Asn1/DistinguishedName.php
Class hierarchy
Summary
Static Properties
Static Methods
getAsArray()
public static SetaPDF_Signer_Asn1_DistinguishedName::getAsArray (
SetaPDF_Signer_Asn1_Element $name [, bool $onlyKnown = true ]
): arrayConverts a DistinguishedName ASN.1 element into an array.
Parameters
- $name : SetaPDF_Signer_Asn1_Element
- $onlyKnown : bool
Whether attributes with an unknown OID are returend or not.
Exceptions
getAsString()
public static SetaPDF_Signer_Asn1_DistinguishedName::getAsString (
SetaPDF_Signer_Asn1_Element $name [, bool $onlyKnown = true ]
): stringConverts a DistinguishedName ASN.1 element into a string.
Parameters
- $name : SetaPDF_Signer_Asn1_Element
- $onlyKnown : bool
Whether attributes with an unknown OID are returend or not.