Update(byte[], OracleCertificateFunctionality, OracleCredentialFunctionality)
This method updates the in-memory SSO wallet functionalities for the OracleConnection to use.
Declaration
// C# public OracleSSO Update(byte[] content, OracleCertificateFunctionality certificateFunctionality, OracleCredentialFunctionality credentialFunctionality)
Parameters
-
contentA
byte[]of the updated SSO wallet content. -
certificateFunctionalityThe certificate functionalities to use the SSO file content for.
-
credentialFunctionalityThe credential functionalities to use the SSO file content for.
Return Value
Returns itself so that multiple calls can be chained.
Exceptions
Throws ORA-50128 if, while read-only, a functionality provided did not already exist on the OracleSSO, or if content is null or empty.
Remarks
For the certificateFunctionality and credentialFunctionality parameter values, multiple functionalities can be enabled using bitwise OR.
Subsequent calls to Update() overwrite previous Update() and Set() calls if the functionalities overlap.
Before MakeReadOnly() is called, the Set() and Update() methods perform the same function. Their difference is after MakeReadOnly() is called, only Update() can be called to update existing functionalities.
If the content is null or empty, the specified functionalities will be unset unless OracleSSO has already been set to read only.