SSLParameters.AlgorithmConstraints Property

Definition

Returns the cryptographic algorithm constraints. -or- Sets the cryptographic algorithm constraints, which will be used in addition to any configured by the runtime environment.

public virtual Java.Security.IAlgorithmConstraints? AlgorithmConstraints { [Android.Runtime.Register("getAlgorithmConstraints", "()Ljava/security/AlgorithmConstraints;", "GetGetAlgorithmConstraintsHandler", ApiSince=24)] get; [Android.Runtime.Register("setAlgorithmConstraints", "(Ljava/security/AlgorithmConstraints;)V", "GetSetAlgorithmConstraints_Ljava_security_AlgorithmConstraints_Handler", ApiSince=24)] set; }
[<get: Android.Runtime.Register("getAlgorithmConstraints", "()Ljava/security/AlgorithmConstraints;", "GetGetAlgorithmConstraintsHandler", ApiSince=24)>]
[<set: Android.Runtime.Register("setAlgorithmConstraints", "(Ljava/security/AlgorithmConstraints;)V", "GetSetAlgorithmConstraints_Ljava_security_AlgorithmConstraints_Handler", ApiSince=24)>]
member this.AlgorithmConstraints : Java.Security.IAlgorithmConstraints with get, set

Property Value

the cryptographic algorithm constraints, or null if the constraints have not been set

Attributes

Remarks

Property getter documentation:

Returns the cryptographic algorithm constraints.

Added in 1.7.

Java documentation for javax.net.ssl.SSLParameters.getAlgorithmConstraints().

Property setter documentation:

Sets the cryptographic algorithm constraints, which will be used in addition to any configured by the runtime environment.

If the constraints parameter is non-null, every cryptographic algorithm, key and algorithm parameters used in the SSL/TLS handshake must be permitted by the constraints.

Added in 1.7.

Java documentation for javax.net.ssl.SSLParameters.setAlgorithmConstraints(java.security.AlgorithmConstraints).

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