Udostępnij za pośrednictwem


ExtendedSSLSession.PutValue(String, Object) Method

Definition

Binds the specified value object into the session's application layer data with the given name.

[Android.Runtime.Register("putValue", "(Ljava/lang/String;Ljava/lang/Object;)V", "GetPutValue_Ljava_lang_String_Ljava_lang_Object_Handler")]
public abstract void PutValue (string? name, Java.Lang.Object? value);
[<Android.Runtime.Register("putValue", "(Ljava/lang/String;Ljava/lang/Object;)V", "GetPutValue_Ljava_lang_String_Ljava_lang_Object_Handler")>]
abstract member PutValue : string * Java.Lang.Object -> unit

Parameters

name
String

the name to which the data object will be bound. This may not be null.

value
Object

the data object to be bound. This may not be null.

Implements

Attributes

Remarks

Binds the specified value object into the session's application layer data with the given name.

Any existing binding using the same name is replaced. If the new (or existing) value implements the SSLSessionBindingListener interface, the object represented by value is notified appropriately.

For security reasons, the same named values may not be visible across different access control contexts.

Java documentation for javax.net.ssl.SSLSession.putValue(java.lang.String, java.lang.Object).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to