Home
last modified time | relevance | path

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

/packages/apps/SecureElement/src/com/android/se/security/arf/
DDERParser.java91 int size, TLVSize = 0; in getTLVSize() local
95 if ((TLVSize = (mDERBuffer[mDERIndex++] & 0xff)) >= 128) { in getTLVSize()
96 size = TLVSize - 128; in getTLVSize()
97 for (TLVSize = 0; size > 0; size--) { in getTLVSize()
99 TLVSize = (TLVSize << 8) + (mDERBuffer[mDERIndex++] & 0xff); in getTLVSize()
107 if ((mDERIndex + TLVSize) > mDERSize) throw new PKCS15Exception("[Parser] Not enough data"); in getTLVSize()
108 return (short) TLVSize; in getTLVSize()