Searched refs:KeyLengthAttribute (Results 1 – 2 of 2) sorted by relevance
1194 KeyLengthAttribute attr = getKeyLengthAttribute(attributeList); in EncryptionTransform()1241 private KeyLengthAttribute getKeyLengthAttribute(List<Attribute> attributeList) { in getKeyLengthAttribute()1244 return (KeyLengthAttribute) attr; in getKeyLengthAttribute()1301 new KeyLengthAttribute(mSpecifiedKeyLength).encodeToByteBuffer(byteBuffer); in encodeToByteBuffer()1310 len += new KeyLengthAttribute(mSpecifiedKeyLength).getAttributeLength(); in getTransformLength()1776 return new Pair(new KeyLengthAttribute(value), length); in readFrom()1790 public static final class KeyLengthAttribute extends Attribute { class in IkeSaPayload1793 protected KeyLengthAttribute(byte[] value) { in KeyLengthAttribute() method in IkeSaPayload.KeyLengthAttribute1797 protected KeyLengthAttribute(int keyLength) { in KeyLengthAttribute() method in IkeSaPayload.KeyLengthAttribute
57 import com.android.internal.net.ipsec.test.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()