Searched refs:KeyLengthAttribute (Results 1 – 2 of 2) sorted by relevance
1175 KeyLengthAttribute attr = getKeyLengthAttribute(attributeList); in EncryptionTransform()1221 private KeyLengthAttribute getKeyLengthAttribute(List<Attribute> attributeList) { in getKeyLengthAttribute()1224 return (KeyLengthAttribute) attr; in getKeyLengthAttribute()1277 new KeyLengthAttribute(mSpecifiedKeyLength).encodeToByteBuffer(byteBuffer); in encodeToByteBuffer()1286 len += new KeyLengthAttribute(mSpecifiedKeyLength).getAttributeLength(); in getTransformLength()1751 return new Pair(new KeyLengthAttribute(value), length); in readFrom()1765 public static final class KeyLengthAttribute extends Attribute { class in IkeSaPayload1768 protected KeyLengthAttribute(byte[] value) { in KeyLengthAttribute() method in IkeSaPayload.KeyLengthAttribute1772 protected KeyLengthAttribute(int keyLength) { in KeyLengthAttribute() method in IkeSaPayload.KeyLengthAttribute
57 import com.android.internal.net.ipsec.ike.message.IkeSaPayload.KeyLengthAttribute;145 private KeyLengthAttribute mAttributeKeyLength128;180 mAttributeKeyLength128 = new KeyLengthAttribute(SaProposal.KEY_LEN_AES_128); in setUp()272 assertTrue(attribute instanceof KeyLengthAttribute); in testDecodeAttribute()274 assertEquals(SaProposal.KEY_LEN_AES_128, ((KeyLengthAttribute) attribute).keyLength); in testDecodeAttribute()309 Attribute keyLengAttr = new KeyLengthAttribute(SaProposal.KEY_LEN_AES_128 + 1); in testDecodeEncryptionTransformWithInvalidKeyLength()