Home
last modified time | relevance | path

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

12

/external/nos/host/android/hals/keymaster/test/
Dtest.cpp34 using ::android::hardware::keymaster::V4_0::SecurityLevel;
44 hal.getHardwareInfo([&](SecurityLevel securityLevel, in TEST()
47 EXPECT_EQ(securityLevel, SecurityLevel::STRONGBOX); in TEST()
/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;
127 .set(CallCredentials.ATTR_SECURITY_LEVEL, SecurityLevel.PRIVACY_AND_INTEGRITY)
/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;
DAltsProtocolNegotiatorTest.java30 import io.grpc.SecurityLevel;
349 .isEqualTo(SecurityLevel.PRIVACY_AND_INTEGRITY); in peerPropagated()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DCallCredentialsApplyingTest.java38 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()
/external/grpc-grpc-java/auth/src/main/java/io/grpc/auth/
DGoogleAuthLibraryCallCredentials.java29 import io.grpc.SecurityLevel;
93 SecurityLevel security = attrs.get(ATTR_SECURITY_LEVEL); in applyRequestMetadata()
98 security = SecurityLevel.NONE; in applyRequestMetadata()
100 if (requirePrivacy && security != SecurityLevel.PRIVACY_AND_INTEGRITY) { in applyRequestMetadata()
/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/core/src/main/java/io/grpc/internal/
DCallCredentialsApplyingTransportFactory.java27 import io.grpc.SecurityLevel;
83 .set(CallCredentials.ATTR_SECURITY_LEVEL, SecurityLevel.NONE) in newStream()
/external/grpc-grpc-java/auth/src/test/java/io/grpc/auth/
DGoogleAuthLibraryCallCredentialsTest.java46 import io.grpc.SecurityLevel;
111 .set(CallCredentials.ATTR_SECURITY_LEVEL, SecurityLevel.PRIVACY_AND_INTEGRITY)
260 .set(CallCredentials.ATTR_SECURITY_LEVEL, SecurityLevel.NONE) in oauth2Credential()
280 .set(CallCredentials.ATTR_SECURITY_LEVEL, SecurityLevel.PRIVACY_AND_INTEGRITY) in googleCredential_privacyAndIntegrityAllowed()
301 .set(CallCredentials.ATTR_SECURITY_LEVEL, SecurityLevel.INTEGRITY) in googleCredential_integrityDenied()
/external/grpc-grpc-java/cronet/src/test/java/io/grpc/cronet/
DCronetClientTransportTest.java32 import io.grpc.SecurityLevel;
87 SecurityLevel.PRIVACY_AND_INTEGRITY, attrs.get(CallCredentials.ATTR_SECURITY_LEVEL)); in transportAttributes()
/external/grpc-grpc-java/core/src/main/java/io/grpc/
DSecurityLevel.java23 public enum SecurityLevel { enum
DCallCredentials.java45 public static final Key<SecurityLevel> ATTR_SECURITY_LEVEL =
/external/grpc-grpc-java/cronet/src/main/java/io/grpc/cronet/
DCronetClientTransport.java29 import io.grpc.SecurityLevel;
99 .set(CallCredentials.ATTR_SECURITY_LEVEL, SecurityLevel.PRIVACY_AND_INTEGRITY) in CronetClientTransport()
/external/grpc-grpc-java/netty/src/main/java/io/grpc/netty/
DProtocolNegotiators.java29 import io.grpc.SecurityLevel;
654 .set(CallCredentials.ATTR_SECURITY_LEVEL, SecurityLevel.PRIVACY_AND_INTEGRITY)
702 .set(CallCredentials.ATTR_SECURITY_LEVEL, SecurityLevel.NONE)
745 .set(CallCredentials.ATTR_SECURITY_LEVEL, SecurityLevel.NONE)
/external/grpc-grpc/src/core/tsi/alts/handshaker/proto/
Daltscontext.proto31 SecurityLevel security_level = 3;
Dtransport_security_common.proto23 enum SecurityLevel { enum
/external/nos/host/android/hals/keymaster/
Dproto_utils.h37 using ::android::hardware::keymaster::V4_0::SecurityLevel;
/external/grpc-grpc-java/alts/src/main/proto/grpc/gcp/
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/nos/host/generic/nugget/proto/nugget/app/keymaster/
Dkeymaster_types.proto77 SecurityLevel security_level = 4;
/external/grpc-grpc-java/core/src/main/java/io/grpc/inprocess/
DInProcessTransport.java38 import io.grpc.SecurityLevel;
94 .set(CallCredentials.ATTR_SECURITY_LEVEL, SecurityLevel.PRIVACY_AND_INTEGRITY)
/external/grpc-grpc-java/okhttp/src/main/java/io/grpc/okhttp/
DOkHttpClientTransport.java43 import io.grpc.SecurityLevel;
489 sslSession == null ? SecurityLevel.NONE : SecurityLevel.PRIVACY_AND_INTEGRITY) in start()

12