Lines Matching refs:_security
65 private $_security = array(); variable in OneLogin_Saml2_Settings
282 $this->_security = $settings['security'];
363 if (!isset($this->_security['nameIdEncrypted'])) {
364 $this->_security['nameIdEncrypted'] = false;
366 if (!isset($this->_security['requestedAuthnContext'])) {
367 $this->_security['requestedAuthnContext'] = true;
371 if (!isset($this->_security['authnRequestsSigned'])) {
372 $this->_security['authnRequestsSigned'] = false;
374 if (!isset($this->_security['logoutRequestSigned'])) {
375 $this->_security['logoutRequestSigned'] = false;
377 if (!isset($this->_security['logoutResponseSigned'])) {
378 $this->_security['logoutResponseSigned'] = false;
380 if (!isset($this->_security['signMetadata'])) {
381 $this->_security['signMetadata'] = false;
385 if (!isset($this->_security['wantMessagesSigned'])) {
386 $this->_security['wantMessagesSigned'] = false;
388 if (!isset($this->_security['wantAssertionsSigned'])) {
389 $this->_security['wantAssertionsSigned'] = false;
393 if (!isset($this->_security['wantNameId'])) {
394 $this->_security['wantNameId'] = true;
398 if (!isset($this->_security['relaxDestinationValidation'])) {
399 $this->_security['relaxDestinationValidation'] = false;
404 if (!isset($this->_security['destinationStrictlyMatches'])) {
405 $this->_security['destinationStrictlyMatches'] = false;
409 if (!isset($this->_security['rejectUnsolicitedResponsesWithInResponseTo'])) {
410 $this->_security['rejectUnsolicitedResponsesWithInResponseTo'] = false;
414 if (!isset($this->_security['wantAssertionsEncrypted'])) {
415 $this->_security['wantAssertionsEncrypted'] = false;
417 if (!isset($this->_security['wantNameIdEncrypted'])) {
418 $this->_security['wantNameIdEncrypted'] = false;
422 if (!isset($this->_security['wantXMLValidation'])) {
423 $this->_security['wantXMLValidation'] = true;
427 if (!isset($this->_security['signatureAlgorithm'])) {
428 $this->_security['signatureAlgorithm'] = XMLSecurityKey::RSA_SHA1;
432 if (!isset($this->_security['digestAlgorithm'])) {
433 $this->_security['digestAlgorithm'] = XMLSecurityDSig::SHA1;
436 if (!isset($this->_security['lowercaseUrlencoding'])) {
437 $this->_security['lowercaseUrlencoding'] = false;
794 return $this->_security;
854 …neLogin_Saml2_Metadata::builder($this->_sp, $this->_security['authnRequestsSigned'], $this->_secur…
861 …$alwaysPublishEncryptionCert || $this->_security['wantNameIdEncrypted'] || $this->_security['wantA…
870 …$alwaysPublishEncryptionCert || $this->_security['wantNameIdEncrypted'] || $this->_security['wantA…
875 if (isset($this->_security['signMetadata']) && $this->_security['signMetadata'] !== false) {
876 if ($this->_security['signMetadata'] === true) {
891 } else if (isset($this->_security['signMetadata']['keyFileName']) &&
892 isset($this->_security['signMetadata']['certFileName'])) {
893 $keyFileName = $this->_security['signMetadata']['keyFileName'];
894 $certFileName = $this->_security['signMetadata']['certFileName'];
913 } else if (isset($this->_security['signMetadata']['privateKey']) &&
914 isset($this->_security['signMetadata']['x509cert'])) {
915 …$keyMetadata = OneLogin_Saml2_Utils::formatPrivateKey($this->_security['signMetadata']['privateKey…
916 … $certMetadata = OneLogin_Saml2_Utils::formatCert($this->_security['signMetadata']['x509cert']);
936 $signatureAlgorithm = $this->_security['signatureAlgorithm'];
937 $digestAlgorithm = $this->_security['digestAlgorithm'];