Copies the native credentials of type native_type from native into this.
It is a programming error (which will cause an warning to be logged) to use this method if there is no
Credentials support for the OS or if native_type isn't supported by the OS.
| this |
A Credentials. |
| native_type |
The type of native credentials to set. |
| native |
A pointer to native credentials. |