Home
last modified time | relevance | path

Searched refs:maxProtectedFrameBytes (Results 1 – 1 of 1) sorted by relevance

/external/grpc-grpc-java/alts/src/main/java/io/grpc/alts/internal/
DAltsTsiFrameProtector.java45 int maxProtectedFrameBytes, ChannelCrypterNetty crypter, ByteBufAllocator alloc) { in AltsTsiFrameProtector() argument
46 checkArgument(maxProtectedFrameBytes > HEADER_BYTES + crypter.getSuffixLength()); in AltsTsiFrameProtector()
47 maxProtectedFrameBytes = Math.min(LIMIT_MAX_ALLOWED_FRAME_BYTES, maxProtectedFrameBytes); in AltsTsiFrameProtector()
48 protector = new Protector(maxProtectedFrameBytes, crypter); in AltsTsiFrameProtector()
103 Protector(int maxProtectedFrameBytes, ChannelCrypterNetty crypter) { in Protector() argument
105 this.maxUnprotectedBytesPerFrame = maxProtectedFrameBytes - HEADER_BYTES - suffixBytes; in Protector()