Documentation

CurveOidMapper
in package

Table of Contents

Constants

NIST_P192_OID  = '1.2.840.10045.3.1.1'
NIST_P224_OID  = '1.3.132.0.33'
NIST_P256_OID  = '1.2.840.10045.3.1.7'
NIST_P384_OID  = '1.3.132.0.34'
NIST_P521_OID  = '1.3.132.0.35'
SECP_112R1_OID  = '1.3.132.0.6'
SECP_192K1_OID  = '1.3.132.0.31'
SECP_256K1_OID  = '1.3.132.0.10'
SECP_256R1_OID  = '1.2.840.10045.3.1.7'
SECP_384R1_OID  = '1.3.132.0.34'

Properties

$oidMap  : array<string|int, mixed>
$sizeMap  : array<string|int, mixed>

Methods

getByteSize()  : int
getCurveFromOid()  : NamedCurveFp
getCurveOid()  : ObjectIdentifier
getGeneratorFromOid()  : GeneratorPoint
getNames()  : array<string|int, mixed>

Constants

NIST_P192_OID

public mixed NIST_P192_OID = '1.2.840.10045.3.1.1'

NIST_P256_OID

public mixed NIST_P256_OID = '1.2.840.10045.3.1.7'

SECP_256R1_OID

public mixed SECP_256R1_OID = '1.2.840.10045.3.1.7'

Properties

$oidMap

private static array<string|int, mixed> $oidMap = array(\Mdanter\Ecc\Curves\NistCurve::NAME_P192 => self::NIST_P192_OID, \Mdanter\Ecc\Curves\NistCurve::NAME_P224 => self::NIST_P224_OID, \Mdanter\Ecc\Curves\NistCurve::NAME_P256 => self::NIST_P256_OID, \Mdanter\Ecc\Curves\NistCurve::NAME_P384 => self::NIST_P384_OID, \Mdanter\Ecc\Curves\NistCurve::NAME_P521 => self::NIST_P521_OID, \Mdanter\Ecc\Curves\SecgCurve::NAME_SECP_112R1 => self::SECP_112R1_OID, \Mdanter\Ecc\Curves\SecgCurve::NAME_SECP_192K1 => self::SECP_192K1_OID, \Mdanter\Ecc\Curves\SecgCurve::NAME_SECP_256K1 => self::SECP_256K1_OID, \Mdanter\Ecc\Curves\SecgCurve::NAME_SECP_256R1 => self::SECP_256R1_OID, \Mdanter\Ecc\Curves\SecgCurve::NAME_SECP_384R1 => self::SECP_384R1_OID)

$sizeMap

private static array<string|int, mixed> $sizeMap = array(\Mdanter\Ecc\Curves\NistCurve::NAME_P192 => 24, \Mdanter\Ecc\Curves\NistCurve::NAME_P224 => 28, \Mdanter\Ecc\Curves\NistCurve::NAME_P256 => 32, \Mdanter\Ecc\Curves\NistCurve::NAME_P384 => 48, \Mdanter\Ecc\Curves\NistCurve::NAME_P521 => 66, \Mdanter\Ecc\Curves\SecgCurve::NAME_SECP_112R1 => 14, \Mdanter\Ecc\Curves\SecgCurve::NAME_SECP_192K1 => 24, \Mdanter\Ecc\Curves\SecgCurve::NAME_SECP_256K1 => 32, \Mdanter\Ecc\Curves\SecgCurve::NAME_SECP_256R1 => 32, \Mdanter\Ecc\Curves\SecgCurve::NAME_SECP_384R1 => 48)

Methods

getNames()

public static getNames() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results