Write a security context to an output stream.
Syntax
void
storeContext
(
SecContext
ctx
,
OutputStream
os
) throws SecException
Parameters
-
ctx –
The context to write
-
os –
The stream to which the context will be written
Exceptions
-
SecException class –
on encountering serialization error or if the context is not a CSI core implementation
-
IllegalArgumentException –
if the context is null, output stream is null