Home
last modified time | relevance | path

Searched refs:SecurityLevel (Results 1 – 25 of 33) sorted by relevance

12

/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsAuthContext.java23 import io.grpc.alts.internal.TransportSecurityCommon.SecurityLevel;
36 .setSecurityLevel(SecurityLevel.INTEGRITY_AND_PRIVACY) in AltsAuthContext()
71 public SecurityLevel getSecurityLevel() { in getSecurityLevel()
DAltsProtocolNegotiator.java27 import io.grpc.SecurityLevel;
149 .set(CallCredentials.ATTR_SECURITY_LEVEL, SecurityLevel.PRIVACY_AND_INTEGRITY)
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DCallCredentials2.java59 final SecurityLevel securityLevel = in applyRequestMetadata()
60 firstNonNull(attrs.get(ATTR_SECURITY_LEVEL), SecurityLevel.NONE); in applyRequestMetadata()
68 public SecurityLevel getSecurityLevel() { in applyRequestMetadata()
DCallCredentials.java50 public static final Key<SecurityLevel> ATTR_SECURITY_LEVEL =
130 public abstract SecurityLevel getSecurityLevel(); in getSecurityLevel()
DSecurityLevel.java23 public enum SecurityLevel { enum
/external/grpc-grpc-java/auth/src/test/java/io/grpc/auth/
DGoogleAuthLibraryCallCredentialsTest.java46 import io.grpc.SecurityLevel;
109 private static final SecurityLevel SECURITY_LEVEL = SecurityLevel.PRIVACY_AND_INTEGRITY;
259 new RequestInfoImpl(SecurityLevel.NONE), executor, applier); in oauth2Credential()
277 new RequestInfoImpl(SecurityLevel.PRIVACY_AND_INTEGRITY), executor, applier); in googleCredential_privacyAndIntegrityAllowed()
296 new RequestInfoImpl(SecurityLevel.INTEGRITY), executor, applier); in googleCredential_integrityDenied()
398 final SecurityLevel securityLevel;
404 RequestInfoImpl(SecurityLevel securityLevel) { in RequestInfoImpl()
412 RequestInfoImpl(String authority, SecurityLevel securityLevel) { in RequestInfoImpl()
423 public SecurityLevel getSecurityLevel() { in getSecurityLevel()
/external/grpc-grpc-java/alts/src/test/java/io/grpc/alts/internal/
DAltsAuthContextTest.java24 import io.grpc.alts.internal.TransportSecurityCommon.SecurityLevel;
37 private static final SecurityLevel TEST_SECURITY_LEVEL = SecurityLevel.INTEGRITY_AND_PRIVACY;
/external/grpc-grpc-java/core/src/main/java/io/grpc/internal/
DGrpcAttributes.java23 import io.grpc.SecurityLevel;
59 public static final Attributes.Key<SecurityLevel> ATTR_SECURITY_LEVEL =
DCallCredentialsApplyingTransportFactory.java27 import io.grpc.SecurityLevel;
84 .set(CallCredentials.ATTR_SECURITY_LEVEL, SecurityLevel.NONE) in newStream()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DCallCredentialsApplyingTest.java37 import io.grpc.SecurityLevel;
134 assertSame(SecurityLevel.NONE, attrs.get(CallCredentials.ATTR_SECURITY_LEVEL)); in parameterPropagation_base()
142 .set(CallCredentials.ATTR_SECURITY_LEVEL, SecurityLevel.INTEGRITY) in parameterPropagation_overrideByTransport()
154 assertSame(SecurityLevel.INTEGRITY, attrs.get(CallCredentials.ATTR_SECURITY_LEVEL)); in parameterPropagation_overrideByTransport()
162 .set(CallCredentials.ATTR_SECURITY_LEVEL, SecurityLevel.INTEGRITY) in parameterPropagation_overrideByCallOptions()
176 assertSame(SecurityLevel.INTEGRITY, attrs.get(CallCredentials.ATTR_SECURITY_LEVEL)); in parameterPropagation_overrideByCallOptions()
DCallCredentials2ApplyingTest.java39 import io.grpc.SecurityLevel;
137 assertSame(SecurityLevel.NONE, info.getSecurityLevel()); in parameterPropagation_base()
144 .set(GrpcAttributes.ATTR_SECURITY_LEVEL, SecurityLevel.INTEGRITY) in parameterPropagation_transportSetSecurityLevel()
157 assertSame(SecurityLevel.INTEGRITY, info.getSecurityLevel()); in parameterPropagation_transportSetSecurityLevel()
178 assertSame(SecurityLevel.NONE, info.getSecurityLevel()); in parameterPropagation_callOptionsSetAuthority()
/external/grpc-grpc-java/alts/src/generated/main/java/io/grpc/alts/internal/
DAltscontext.java72 io.grpc.alts.internal.TransportSecurityCommon.SecurityLevel getSecurityLevel(); in getSecurityLevel()
356 public io.grpc.alts.internal.TransportSecurityCommon.SecurityLevel getSecurityLevel() { in getSecurityLevel()
357 …s.internal.TransportSecurityCommon.SecurityLevel result = io.grpc.alts.internal.TransportSecurityC… in getSecurityLevel()
358 …return result == null ? io.grpc.alts.internal.TransportSecurityCommon.SecurityLevel.UNRECOGNIZED :… in getSecurityLevel()
496 …if (securityLevel_ != io.grpc.alts.internal.TransportSecurityCommon.SecurityLevel.SECURITY_NONE.ge… in writeTo()
522 …if (securityLevel_ != io.grpc.alts.internal.TransportSecurityCommon.SecurityLevel.SECURITY_NONE.ge… in getSerializedSize()
1066 public io.grpc.alts.internal.TransportSecurityCommon.SecurityLevel getSecurityLevel() { in getSecurityLevel()
1067 …s.internal.TransportSecurityCommon.SecurityLevel result = io.grpc.alts.internal.TransportSecurityC… in getSecurityLevel()
1068 …return result == null ? io.grpc.alts.internal.TransportSecurityCommon.SecurityLevel.UNRECOGNIZED :… in getSecurityLevel()
1077 …public Builder setSecurityLevel(io.grpc.alts.internal.TransportSecurityCommon.SecurityLevel value)… in setSecurityLevel()
DTransportSecurityCommon.java25 public enum SecurityLevel enum in TransportSecurityCommon
68 public static SecurityLevel valueOf(int value) { in valueOf()
72 public static SecurityLevel forNumber(int value) { in forNumber()
81 public static com.google.protobuf.Internal.EnumLiteMap<SecurityLevel>
86 SecurityLevel> internalValueMap =
87 new com.google.protobuf.Internal.EnumLiteMap<SecurityLevel>() {
88 public SecurityLevel findValueByNumber(int number) {
89 return SecurityLevel.forNumber(number);
106 private static final SecurityLevel[] VALUES = values();
108 public static SecurityLevel valueOf( in valueOf()
[all …]
/external/grpc-grpc-java/cronet/src/test/java/io/grpc/cronet/
DCronetClientTransportTest.java32 import io.grpc.SecurityLevel;
87 SecurityLevel.PRIVACY_AND_INTEGRITY, attrs.get(GrpcAttributes.ATTR_SECURITY_LEVEL)); in transportAttributes()
/external/grpc-grpc-java/auth/src/main/java/io/grpc/auth/
DGoogleAuthLibraryCallCredentials.java28 import io.grpc.SecurityLevel;
92 SecurityLevel security = info.getSecurityLevel(); in applyRequestMetadata()
93 if (requirePrivacy && security != SecurityLevel.PRIVACY_AND_INTEGRITY) { in applyRequestMetadata()
/external/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/
DCronetClientTransport.java28 import io.grpc.SecurityLevel;
98 .set(GrpcAttributes.ATTR_SECURITY_LEVEL, SecurityLevel.PRIVACY_AND_INTEGRITY) in CronetClientTransport()
/external/grpc-grpc/src/core/tsi/alts/handshaker/proto/
Daltscontext.proto31 SecurityLevel security_level = 3;
Dtransport_security_common.proto23 enum SecurityLevel { enum
/external/rust/crates/grpcio-sys/grpc/src/core/tsi/alts/handshaker/proto/
Daltscontext.proto31 SecurityLevel security_level = 3;
Dtransport_security_common.proto23 enum SecurityLevel { enum
/external/grpc-grpc/test/core/tsi/alts/fake_handshaker/
Dtransport_security_common.proto23 enum SecurityLevel { enum
/external/grpc-grpc-java/alts/src/main/proto/grpc/gcp/
Dtransport_security_common.proto23 enum SecurityLevel { enum
Daltscontext.proto31 SecurityLevel security_level = 3;
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DProtocolNegotiators.java28 import io.grpc.SecurityLevel;
679 .set(GrpcAttributes.ATTR_SECURITY_LEVEL, SecurityLevel.PRIVACY_AND_INTEGRITY)
728 .set(GrpcAttributes.ATTR_SECURITY_LEVEL, SecurityLevel.NONE)
772 .set(GrpcAttributes.ATTR_SECURITY_LEVEL, SecurityLevel.NONE)
/external/rust/crates/grpcio-sys/grpc/src/proto/grpc/gcp/
Daltscontext.proto37 SecurityLevel security_level = 3;

12