v.add(new DEROctetString(currentSpec.getDerivationV()));
v.add(new DEROctetString(currentSpec.getEncodingV()));
v.add(new DERInteger(currentSpec.getMacKeySize()));
return new DERSequence(v).getEncoded(ASN1Encodable.DER);
}
catch (IOException e)
{
throw new RuntimeException("Error encoding IESParameters");
}