PHP Class SAML2\CertificatesMock

Show file Open project: simplesamlphp/saml2 Class Usage Examples

Public Methods

Method Description
getPlainInvalidPublicKey ( ) Returns malformed public key by truncating it.
getPlainPrivateKey ( )
getPlainPublicKey ( )
getPlainPublicKeyContents ( ) Returns just the certificate contents without the begin and end markings
getPrivateKey ( ) : XMLSecurityKey
getPublicKey ( ) : XMLSecurityKey
getPublicKey2 ( ) : XMLSecurityKey
getPublicKey2Sha1 ( ) : XMLSecurityKey
getPublicKeySha1 ( ) : XMLSecurityKey

Method Details

getPlainInvalidPublicKey() public static method

Returns malformed public key by truncating it.
public static getPlainInvalidPublicKey ( )

getPlainPrivateKey() public static method

public static getPlainPrivateKey ( )

getPlainPublicKey() public static method

public static getPlainPublicKey ( )

getPlainPublicKeyContents() public static method

Returns just the certificate contents without the begin and end markings
public static getPlainPublicKeyContents ( )

getPrivateKey() public static method

public static getPrivateKey ( ) : XMLSecurityKey
return RobRichards\XMLSecLibs\XMLSecurityKey

getPublicKey() public static method

public static getPublicKey ( ) : XMLSecurityKey
return RobRichards\XMLSecLibs\XMLSecurityKey

getPublicKey2() public static method

public static getPublicKey2 ( ) : XMLSecurityKey
return RobRichards\XMLSecLibs\XMLSecurityKey

getPublicKey2Sha1() public static method

public static getPublicKey2Sha1 ( ) : XMLSecurityKey
return RobRichards\XMLSecLibs\XMLSecurityKey

getPublicKeySha1() public static method

public static getPublicKeySha1 ( ) : XMLSecurityKey
return RobRichards\XMLSecLibs\XMLSecurityKey