Top Description Fields Constructors Methods
io.grpc

public final Enum SecurityLevel

extends Enum<SecurityLevel>
Class Inheritance
Annotations
@ExperimentalApi:https://github.com/grpc/grpc-java/issues/4692

The level of security guarantee in communications.

Field Summary

Modifier and TypeField and Description
public static final SecurityLevel
INTEGRITY

The other party is authenticated and the data is not tampered with.

public static final SecurityLevel
NONE

No security guarantee.

public static final SecurityLevel
PRIVACY_AND_INTEGRITY

In addition to INTEGRITY, the data is only visible to the intended communication parties.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static SecurityLevel
public static SecurityLevel[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

INTEGRITYback to summary
public static final SecurityLevel INTEGRITY

The other party is authenticated and the data is not tampered with.

NONEback to summary
public static final SecurityLevel NONE

No security guarantee.

PRIVACY_AND_INTEGRITYback to summary
public static final SecurityLevel PRIVACY_AND_INTEGRITY

In addition to INTEGRITY, the data is only visible to the intended communication parties.

Constructor Detail

SecurityLevelback to summary
private SecurityLevel()

Method Detail

valueOfback to summary
public static SecurityLevel valueOf(String name)
valuesback to summary
public static SecurityLevel[] values()