SetaPDF_Signer_Asn1_Oid Helper class to de- and encode OIDs

File: /SetaPDF v2/Signer/Asn1/Oid.php

Class hierarchy

Summary

Static Methods

decode()

public static SetaPDF_Signer_Asn1_Oid::decode (
string $oid
): string

Decodes an OID.

Parameters
$oid : string

OID in binary form

Return Values

The OID in dot form

encode()

public static SetaPDF_Signer_Asn1_Oid::encode (
string $oidStr
): string

Encodes an OID.

Parameters
$oidStr : string

OID in dot form

Return Values

OID in binary form