PHP Class SAML2\Certificate\X509

Inheritance: extends SAML2\Certificate\Key
Show file Open project: simplesamlphp/saml2 Class Usage Examples

Public Methods

Method Description
createFromCertificateData ( $certificateContents )
getCertificate ( ) : string Get the certificate representation
getFingerprint ( ) : Fingerprint
offsetSet ( $offset, $value ) {@inheritdoc} Best place to ensure the logic is encapsulated in a single place

Method Details

createFromCertificateData() public static method

public static createFromCertificateData ( $certificateContents )

getCertificate() public method

Get the certificate representation
public getCertificate ( ) : string
return string

getFingerprint() public method

Deprecation: Please use full certificates instead.
public getFingerprint ( ) : Fingerprint
return Fingerprint

offsetSet() public method

{@inheritdoc} Best place to ensure the logic is encapsulated in a single place
public offsetSet ( $offset, $value )