Searched refs:authMethod (Results 1 – 6 of 6) sorted by relevance
61 @AuthMethod public final int authMethod; field in IkeAuthPayload63 protected IkeAuthPayload(boolean critical, int authMethod) { in IkeAuthPayload() argument65 this.authMethod = authMethod; in IkeAuthPayload()72 int authMethod = Byte.toUnsignedInt(inputBuffer.get()); in getIkeAuthPayload() local79 switch (authMethod) { in getIkeAuthPayload()117 byteBuffer.put((byte) authMethod).put(new byte[AUTH_RESERVED_FIELD_LEN]); in encodeToByteBuffer()
137 boolean critical, @AuthMethod int authMethod, byte[] authData) in IkeAuthDigitalSignPayload() argument139 super(critical, authMethod); in IkeAuthDigitalSignPayload()140 switch (authMethod) { in IkeAuthDigitalSignPayload()290 if (authMethod == AUTH_METHOD_GENERIC_DIGITAL_SIGN) { in encodeAuthDataToByteBuffer()299 if (authMethod == AUTH_METHOD_GENERIC_DIGITAL_SIGN) { in getAuthDataLength()
715 IkeAuthConfig(@IkeAuthMethod int authMethod, @AuthDirection int authDirection) { in IkeAuthConfig() argument716 mAuthMethod = authMethod; in IkeAuthConfig()729 int authMethod = in.getInt(AUTH_METHOD_KEY); in fromPersistableBundle() local730 switch (authMethod) { in fromPersistableBundle()748 throw new IllegalArgumentException("Invalid Auth Method: " + authMethod); in fromPersistableBundle()
100 assertEquals(IkeAuthPayload.AUTH_METHOD_PRE_SHARED_KEY, payload.authMethod); in testDecodeIkeAuthPayload()
93 assertEquals(IkeAuthPayload.AUTH_METHOD_PRE_SHARED_KEY, payload.authMethod); in testBuildOutboundIkeAuthPskPayload()
3562 if (authPayload.authMethod != IkeAuthPayload.AUTH_METHOD_PRE_SHARED_KEY) { in authenticatePsk()3566 + authPayload.authMethod); in authenticatePsk()4002 "Unrecognized auth method: " + authPayload.authMethod)); in authenticate()4012 if (authPayload.authMethod != IkeAuthPayload.AUTH_METHOD_RSA_DIGITAL_SIGN in authenticateDigitalSignature()4013 && authPayload.authMethod != IkeAuthPayload.AUTH_METHOD_GENERIC_DIGITAL_SIGN) { in authenticateDigitalSignature()4017 + authPayload.authMethod); in authenticateDigitalSignature()